First: I don't know it this is the right group to post to ...

When creating an "image" node (uploading a GIF image crated by gimp) I get the following message three times:
warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index 255 out of range in /drupal/includes/image.inc on line 251.

Should this topic be converted to an error report? Which module?

Regards
Schildi

Comments

jessicakoh’s picture

Try converting to JPEG. Tell us if you still have such issue.

schildi’s picture

Since this happened several months ago I am not absolutely sure which image caused the message. But I will try to check this out.
On the other side I have uploaded hundreds of jpg-images without a harm. The message mentioned only raised when uplading gif images.

Yes, I can reproduce the messages using the image uploaded on 3. Feb. 2008.
When saving the image as jpg file "gimp" complains about a transparent layer which will be lost when converting to jpg.
Uploading the jpg image was done without any problems.

gif-image (3236672 bytes): GIF image data, version 89a, 3468 x 4571
jpg-image (1318796): JPEG image data, JFIF standard 1.01

The server is still running php4

Regards
Schildi

batigolix’s picture

you can see this error in action here:

http://www.volkstheater-venlo.nl/node/83?size=sponsorpic

the picture in question is an animated gif, so im not very surprised