Skip to content

Improved handling of getink color#1387

Merged
wiredfool merged 2 commits intopython-pillow:masterfrom
radarhere:imaging
Sep 9, 2015
Merged

Improved handling of getink color#1387
wiredfool merged 2 commits intopython-pillow:masterfrom
radarhere:imaging

Conversation

@radarhere
Copy link
Copy Markdown
Member

Resolves #1377

c8ce29c "gets the putdata test case to run correctly under 2.6/2.7. It fixes an
issue where the value 0xFFFFFFFF (which is long in old Python) isn't
recognized and putdata tries to parse it as a tuple."

However, it only fixed it for a specific portion of the code, not for 1 band images, or Int32 or Special image types.

This generalises that the code change from that commit.

wiredfool added a commit that referenced this pull request Sep 9, 2015
Improved handling of getink color
@wiredfool wiredfool merged commit 43c5f2c into python-pillow:master Sep 9, 2015
@radarhere radarhere deleted the imaging branch September 9, 2015 21:02
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.

Crash converting GIF with transparency to RGB

2 participants