Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors with transparent gifs #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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