Critical bug with MagickGetImageMimeType()

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
Matthew Ratzloff

Critical bug with MagickGetImageMimeType()

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Critical bug with MagickGetImageMimeType()

Post 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.
Matthew Ratzloff

Re: Critical bug with MagickGetImageMimeType()

Post by Matthew Ratzloff »

Fantastic! Thank you.
Post Reply