Skip to content

Added posterize filter to PNG24 target#24

Open
DanMan wants to merge 1 commit intoauris:masterfrom
DanMan:posterize
Open

Added posterize filter to PNG24 target#24
DanMan wants to merge 1 commit intoauris:masterfrom
DanMan:posterize

Conversation

@DanMan
Copy link
Copy Markdown

@DanMan DanMan commented Aug 26, 2022

See ticket #23

I've tried my hand at adding posterizing but I was running into the issue that once it had been applied at …say 2, turning posterization back up to …say 100 had no effect on the preview and the saved image.

So I did what the JPEG export does: duplicate the image (to get a new image) and then flatten it (to get a new layer). No idea if that's any good, but it works.

This is my 1st time ever using both C and GIMP code. Sorry, if I missed something obvious.

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.

1 participant