imagecolorsforindex() Color index 255 out of range in imageapi_gd.module

Alex72RM - February 16, 2009 - 10:34
Project:ImageAPI
Version:6.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I have this error in log, php section.

It comes with a .jpg image.

How to solve it?

Thanks,
Alessandro

#1

Juanzo - July 5, 2009 - 20:55
Version:5.x-1.4» 6.x-1.6

I have the same error with 6.x-1.6 version.

#2

upupax - July 24, 2009 - 13:58

confirm 6.x-1.6 issue and subscribe...

#3

Juanzo - September 24, 2009 - 17:22

Same here on PHP 5.2.10.

#4

splash112 - October 11, 2009 - 14:45

Subscribing:

warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index 255 out of range in /home/tit.nl/public_html/drupal6/sites/all/modules/imageapi/imageapi_gd.module on line 251.

ImageAPI 6.x-1.6

#5

selff - October 15, 2009 - 06:02

subscribe

warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index 7 out of range in /home/zzz/htdocs/sites/all/modules/imageapi/imageapi_gd.module on line 251.

ImageAPI 6.x-1.6

this warning come when i create new image advertisement (module ad) *.GIF

#6

foxtrotcharlie - October 26, 2009 - 18:37

I encountered the same error with 5.x-1.5:

imagecolorsforindex() [<a href='function.imagecolorsforindex'>function.imagecolorsforindex</a>]: Color index 255 out of range in C:\Apache2\htdocs\d5\sites\all\modules\imageapi\imageapi_gd.module on line 251.

I was using imagecache to display images from a view, but it turns out those images didn't exist in my local files directory. When I pulled them in, the error disappeared, so not sure if this is a bug or not.

 
 

Drupal is a registered trademark of Dries Buytaert.