Fix #6069. Handle image masks correctly #6099

Merged
merged 2 commits into from Mar 4, 2016

Conversation

Projects
None yet
2 participants
Owner

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.

@mdboom mdboom Fix #6069. Handle image masks correctly
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.
eda0912

mdboom added the needs_review label Mar 2, 2016

@mdboom mdboom Fix image_masked.py example
1204436
Owner

mdboom commented Mar 2, 2016

Passing Travis. Appveyor seems stuck in the queue.

@tacaswell tacaswell added a commit that referenced this pull request Mar 4, 2016

@tacaswell tacaswell Merge pull request #6099 from mdboom/masked-image
Fix #6069.  Handle image masks correctly
5c5a287

@tacaswell tacaswell merged commit 5c5a287 into matplotlib:master Mar 4, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

tacaswell removed the needs_review label Mar 4, 2016

@tacaswell tacaswell added a commit that referenced this pull request Mar 4, 2016

@tacaswell tacaswell Merge pull request #6099 from mdboom/masked-image
Fix #6069.  Handle image masks correctly
1302606
Owner

tacaswell commented Mar 4, 2016

backported to v2.x as 1302606

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