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

Added support for transparency in indexed PNG images #920

Merged
merged 2 commits into from
Dec 16, 2015

Conversation

pointlessone
Copy link
Member

Solves #783

Here's how palette-8.png (from the supplied test case) looks like in the resulting document.

screen shot 2015-11-21 at 11 12 46 pm

@packetmonkey
Copy link
Contributor

Nice! In order to get the test suite passing, do we need to just remove the spec that was ensuring we raised an exception for palleted PNG files? Also I think you left a puts in the specs, we should remove that before merging.

@pointlessone
Copy link
Member Author

@packetmonkey My bad. Fixed specs, removed puts, and added a Changelog entry.

@danielgrippi
Copy link

this fixes an issue i've been seeing on my end. when can we expect to see this merged?

@sublimecoder
Copy link

This would fix and issue I have. When can this be merged?

packetmonkey added a commit that referenced this pull request Dec 16, 2015
Added support for transparency in indexed PNG images
@packetmonkey packetmonkey merged commit 72b2632 into prawnpdf:master Dec 16, 2015
@packetmonkey
Copy link
Contributor

@cheba Strangely master is now broken in Travis, I re-ran the build and it looks still broken after merging this and it bundles locally correctly. Can you check this out to see if we broke something with this PR?

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

Successfully merging this pull request may close these issues.

4 participants