auris / gimp-save-for-web

Save for web plug-in for GIMP.
Other
95 stars 36 forks source link

Added posterize filter to PNG24 target #24

Open DanMan opened 1 year ago

DanMan commented 1 year ago

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.