Skip to content

Revert 1813, plus second commit with tweaks. - #1847

Merged
wiredfool merged 4 commits into
python-pillow:masterfrom
wiredfool:revert-1813-DIB_1293
May 1, 2016
Merged

wiredfool merged 4 commits into
python-pillow:masterfrom
wiredfool:revert-1813-DIB_1293

Conversation

@wiredfool

Copy link
Copy Markdown
Member

This reverts #1813, reapplies the first commit.

The second sets the returned image to BGRX mode, adds comments and removes the test with alpha.

The DIB image format uses the 40 byte BMP header, followed by 3 masks
for RGB channels. We were reading 4 masks, consuming the first pixel
of the image.

Mostly fixes issue python-pillow#1293. Remaining issue: alpha channel is actually a
transparency mask.
@wiredfool wiredfool changed the title Revert 1813, second commit. Revert 1813, plus second commit with tweaks. Apr 19, 2016
@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 0507192 on wiredfool:revert-1813-DIB_1293 into * on python-pillow:master*.

@wiredfool

Copy link
Copy Markdown
Member Author

K, transparency nuked.

@coveralls

coveralls commented Apr 29, 2016 •

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 219182b on wiredfool:revert-1813-DIB_1293 into * on python-pillow:master*.

@wiredfool
wiredfool merged commit 460480d into python-pillow:master May 1, 2016
@wiredfool
wiredfool deleted the revert-1813-DIB_1293 branch October 2, 2017 13:25
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.

3 participants