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 |
Jump to:
Description
Hi,
I have this error in log, php section.
It comes with a .jpg image.
How to solve it?
Thanks,
Alessandro

#1
I have the same error with 6.x-1.6 version.
#2
confirm 6.x-1.6 issue and subscribe...
#3
Same here on PHP 5.2.10.
#4
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
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
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.
#7
Same error, same version. Any news on this?
Marcus