read eps error help help help

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
myshuji
Posts: 1
Joined: 2018-10-10T02:48:06-07:00
Authentication code: 1152

read eps error help help help

Post by myshuji » 2018-10-10T04:10:42-07:00

Code: Select all

                var _ReadSettings = new ImageMagick.MagickReadSettings();
                _ReadSettings.Density = new ImageMagick.Density(720);
                using (var image = new ImageMagick.MagickImage())
                {
                    image.Read(inFile, _ReadSettings);
                    image.Write(outFile, ImageMagick.MagickFormat.Pdf);
                }
if Density=72 then run Normal
if Density=720 then error message
zero-length blob not permitted `C:\Users\mayun\Desktop\1.eps' @ error/blob.c/BlobToImage/444

User avatar
dlemstra
Posts: 1513
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: read eps error help help help

Post by dlemstra » 2018-10-11T13:10:21-07:00

Can you share your EPS file?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Post Reply