MagickReadImageBlob misidentifies an EPT as a PAM
Posted: 2013-09-20T08:48:23-07:00
Hi,
If I read a postscript with a binary header with MagickReadImageBlob and then do MagickGetImageFormat it mis-identifies it as a PAM. If I open the same image file directly with MagickReadImage it correctly identifies it as an EPT.
This is in 6.8.6-10. On an older server running 6.6.0 I can run the same code and no problems occur.
Any ideas on side stepping this as I don't really want the overhead of writing all my files to disk before I can identify them. Failing that I'll cope until a fix!
Thanks,
Joe
If I read a postscript with a binary header with MagickReadImageBlob and then do MagickGetImageFormat it mis-identifies it as a PAM. If I open the same image file directly with MagickReadImage it correctly identifies it as an EPT.
This is in 6.8.6-10. On an older server running 6.6.0 I can run the same code and no problems occur.
Any ideas on side stepping this as I don't really want the overhead of writing all my files to disk before I can identify them. Failing that I'll cope until a fix!
Thanks,
Joe