If I set the image toolkit to imagemagick I get the following:

The specified file logo.gif could not be uploaded. Only JPEG, PNG and GIF images are allowed.

If I switch back to GD it uploads fine.

This is in the /admin/appearance/settings/bartik page (setting custom logo for theme).

Ran identify on the local file - just to be sure ;)

logo.gif GIF 59x100 59x100+0+0 8-bit PseudoClass 256c 3.87KB 0.000u 0:00.000

Comments

drewish’s picture

Odd, mind uploading the file so I can test it out?

chrissearle’s picture

adrinux’s picture

Might not be that odd. I noticed for an image field upload on a custom content type that it will only allow png, despite that fact that several other image formats are allowed in the manage field prefs:

Allowed file extensions *
png, tiff, tif

But then I also see this for GD, I think there may be a core issue - that allowed file extensions isn't being respected? Investigating...

adrinux’s picture

@chrissearle which browser were you using?
Wondering if chrissearle's issue is related to http://drupal.org/node/939962

It seems that even with imageapi enabled and image toolkit set to imagemagick we're still limited to the types supported by gd? At least adding tif and tiff to allowed extensions had no effect...