This project has moved. For the latest updates, please go here.

PDF Format Detection

Oct 31, 2014 at 4:47 AM
Sample1
Sample2
Note: It's really blank

instead of "Pdf", the results are:
MagickImageInfo.Format = "Ppm"
MagickImage.Format = "Png"

The preview generated is black, using:
MagickImage.ToBitmap( System.Drawing.Imaging.ImageFormat.Jpeg )

WAIT....
It seems the problem is with ImageMagick, as
identify.exe reports it as Png also.
Coordinator
Oct 31, 2014 at 6:26 AM
The incorrect format issue has already been reported and fixed in ImageMagick: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26445, this will be fixed in the next release of Magick.NET. Because your PDF is empty it will convert to a transparent image. Jpeg does not support transparency and will make all the transparent pixels black.