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
MagickReadImageBlob misidentifies an EPT as a PAM
Re: MagickReadImageBlob misidentifies an EPT as a PAM
Can you post a link to your image?
Re: MagickReadImageBlob misidentifies an EPT as a PAM
Sure. The original image I used was actually a client's data, but seemingly I can reproduce it with any old eps that has the binary preview header:
http://digitalhippy.me.uk/testimage
As it happens with this one it seems to identify it as a PNG when I load it from a blob, and again correctly if I load it as a file.
Thanks.
http://digitalhippy.me.uk/testimage
As it happens with this one it seems to identify it as a PNG when I load it from a blob, and again correctly if I load it as a file.
Thanks.
Re: MagickReadImageBlob misidentifies an EPT as a PAM
I can reproduce this problem on Windows 7.
Re: MagickReadImageBlob misidentifies an EPT as a PAM
Glad it's not just me, I should have mentioned all my tests were on Debian linux boxes.
Re: MagickReadImageBlob misidentifies an EPT as a PAM
A patch has been submitted to the ImageMagick Subversion trunk. Thanks. This will be fixed in the next release 6.8.7-0.
Last edited by dlemstra on 2013-09-24T12:19:08-07:00, edited 2 times in total.
Re: MagickReadImageBlob misidentifies an EPT as a PAM
Wow. Excellent. Thanks!