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

pngsave: ensure 8-bit palette images can be created #3031

Merged
merged 1 commit into from Sep 8, 2022

Conversation

lovell
Copy link
Member

@lovell lovell commented Sep 8, 2022

This PR ensures the logic matches the comment and, I think, intended behaviour. (It also fixes comment indentation.)

It targets the 8.13 branch as this appears to be a bug introduced in v8.13.1 via commit 1989203

Reported downstream at lovell/sharp#3357

@lovell lovell added the bug label Sep 8, 2022
@lovell lovell requested a review from jcupitt September 8, 2022 07:47
Copy link
Member

@jcupitt jcupitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooop that's a bit of a brainfart, well done for finding this.

@jcupitt jcupitt merged commit b58b7bd into libvips:8.13 Sep 8, 2022
@jcupitt
Copy link
Member

jcupitt commented Sep 8, 2022

I added a note to the changelog and merged to master as well.

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

Successfully merging this pull request may close these issues.

None yet

2 participants