This project has moved and is read-only. For the latest updates, please go here.

PDF Format Detection

Oct 31, 2014 at 5: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 7:26 AM
The incorrect format issue has already been reported and fixed in ImageMagick:, 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.