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 alpha channels in PDF images #4595

Merged
merged 2 commits into from Jul 7, 2015

Conversation

jkseppan
Copy link
Member

@jkseppan jkseppan commented Jul 6, 2015

The code was conflating the presence of an alpha channel with whether the image is grayscale or RGB.

Fixes #4331

The code was conflating the presence of an alpha channel with whether
the image is grayscale or RGB.

Fixes matplotlib#4331
@tacaswell tacaswell added this to the next point release milestone Jul 6, 2015
@tacaswell
Copy link
Member

Looks reasonable to me.

Can you add a test for this as well?

@jkseppan
Copy link
Member Author

jkseppan commented Jul 7, 2015

The Travis build seemed to fail with "gdb: command not found" so I just restarted it on the hypothesis that it was a spurious error with the builder.

jenshnielsen added a commit that referenced this pull request Jul 7, 2015
Fix alpha channels in PDF images
@jenshnielsen jenshnielsen merged commit feec983 into matplotlib:master Jul 7, 2015
@jkseppan jkseppan deleted the grayscale-smask branch July 7, 2015 13:36
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.

None yet

3 participants