Page 1 of 1

Critical bug with MagickGetImageMimeType()

Posted: 2007-03-28T17:18:26-07:00
by Matthew Ratzloff
Hi,

I'm encountering a bug with the MagickWand for PHP extension. Whenever I call MagickGetImageMimeType(), Apache crashes--hard. I'm on Windows Vista (unfortunately) and using PHP 5.2.1 and Apache 2.2.4, with ImageMagick 6.3.3-Q16. I have no such issue with MagickGetImageFormat().

The problem is so severe that in my facade class I'm using MagickGetImageFormat() and converting them to MIME types myself.

It has worked for me one or two times, somehow (?), and I've also noticed it returns image/x-jpeg and image/x-png instead of the standard, IANA-registered image/jpeg and image/png.

It would be great if this could be fixed. Thanks!

Re: Critical bug with MagickGetImageMimeType()

Posted: 2007-03-28T18:23:16-07:00
by magick
We can reproduce the problem you posted and we will have a fix in ImageMagick 6.3.3-5 Beta within a few days. Thanks.

Re: Critical bug with MagickGetImageMimeType()

Posted: 2007-03-29T11:28:47-07:00
by Matthew Ratzloff
Fantastic! Thank you.