PDF Format Detection

Oct 31, 2014 at 4:47 AM
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 )

It seems the problem is with ImageMagick, as
identify.exe reports it as Png also.
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.