X Tutup
Skip to content

Fix #6069. Handle image masks correctly#6099

Merged
tacaswell merged 2 commits intomatplotlib:masterfrom
mdboom:masked-image
Mar 4, 2016
Merged

Fix #6069. Handle image masks correctly#6099
tacaswell merged 2 commits intomatplotlib:masterfrom
mdboom:masked-image

Conversation

@mdboom
Copy link
Copy Markdown
Member

@mdboom mdboom commented Mar 2, 2016

Alternative to #6070

This works by converting the greyscale image to an RGBA image (with the
alpha channel created correctly) prior to resizing in Agg. This also
removes the hack (that caused problems with over/under) where we were
using negative values to indicate transparency.

Alternative to matplotlib#6070

This works by converting the greyscale image to an RGBA image (with the
alpha channel created correctly) prior to resizing in Agg.  This also
removes the hack (that caused problems with over/under) where we were
using negative values to indicate transparency.
@mdboom mdboom added this to the 2.0 (style change major release) milestone Mar 2, 2016
@mdboom
Copy link
Copy Markdown
Member Author

mdboom commented Mar 2, 2016

Passing Travis. Appveyor seems stuck in the queue.

tacaswell added a commit that referenced this pull request Mar 4, 2016
Fix #6069.  Handle image masks correctly
@tacaswell tacaswell merged commit 5c5a287 into matplotlib:master Mar 4, 2016
tacaswell added a commit that referenced this pull request Mar 4, 2016
Fix #6069.  Handle image masks correctly
@tacaswell
Copy link
Copy Markdown
Member

backported to v2.x as 1302606

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

X Tutup