Hi everybody,
I have a problem.
Code;
An unhandled exception of type 'ImageMagick.MagickDelegateErrorException' occurred in Magick.NET-x86.dll
Additional information: pdfcevirresime.vshost.exe: PDFDelegateFailed `[ghostscript library] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dUseCIEColor "-sOutputFile=C:/Users/golivePC/AppData/Local/Temp/magick-5196obZpLkY2mtfm%d" "-fC:/Users/golivePC/AppData/Local/Temp/magick-51961QGYobt9bUcw" "-fC:/Users/golivePC/AppData/Local/Temp/magick-5196jFEeshyD-NOA"': Unrecoverable error: invalidaccess in put.
What can i do?
Thanks for your helps.
I have a problem.
Code;
{
using (var list = new MagickImageCollection())
{
list.Read(file);
for (int id = 0; id < list.Count; id++)
{
using (MagickImage image = new MagickImage())
{
// image.Density = new MagickGeometry(144, 144);
image.Read( file + "[" + id + "]");
// image.Quality = 110;
image.Write(destFolder + "" + (id + 1) + ".jpg");
lstZiplenecek.Add(destFolder + "" + (id + 1) + ".jpg");
image.Dispose();
}
}
}
}
This code can read some pdf file, but some pdf file get an error during read(....pdf);An unhandled exception of type 'ImageMagick.MagickDelegateErrorException' occurred in Magick.NET-x86.dll
Additional information: pdfcevirresime.vshost.exe: PDFDelegateFailed `[ghostscript library] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dUseCIEColor "-sOutputFile=C:/Users/golivePC/AppData/Local/Temp/magick-5196obZpLkY2mtfm%d" "-fC:/Users/golivePC/AppData/Local/Temp/magick-51961QGYobt9bUcw" "-fC:/Users/golivePC/AppData/Local/Temp/magick-5196jFEeshyD-NOA"': Unrecoverable error: invalidaccess in put.
What can i do?
Thanks for your helps.