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=720 then error message
zero-length blob not permitted `C:\Users\mayun\Desktop\1.eps' @ error/blob.c/BlobToImage/444