Skip to content

Conversation

@hgassen
Copy link

@hgassen hgassen commented Jan 23, 2016

Fixes error "imagecolorsforindex(): Color index XXX out of range" by checking with the pallet size of the image.

Fixes error "imagecolorsforindex(): Color index XXX out of range" by checking with the pallet size of the image.
@mosbth
Copy link
Owner

mosbth commented Jan 23, 2016

Do you have an image/testcase that provokes the error?

@hgassen
Copy link
Author

hgassen commented Jan 24, 2016

You can try with this one:
planetred_hd_130

mosbth added a commit that referenced this pull request Jan 26, 2016
@mosbth
Copy link
Owner

mosbth commented Jan 26, 2016

Verified problem using img.php?src=planet.gif&verbose&so&nc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants