Show HN: Palette Manipulator

Posted by skrellm 3 hours ago

Counter2Comment4OpenOriginal

PalTool is the ultimate swiss-army knife for converting palettes and reducing image sizes even in animations. Also smoothly converts between APNG, animated WebP and GIF.

Available as a dependecy-free CLI tool for Windows, Linux and as a web-service.

Comments

Comment by gwbas1c 3 hours ago

What do you mean by "converting palettes"? Perhaps give some examples, with some before and after images.

Comment by skrellm 3 hours ago

I mean all palette related conversions. See the README in https://gitlab.com/bztsrc/paltool

For example, you can say, take a true-color animated WebP, quantize it to 64 colors max, but make sure the first 16 colors is the same as the default VGA palette, then save the result as an animated GIF.

There's no point in example images, because the power of this tool is, you have full control on specifying how the conversion should be done. Just quantize to 256 individual colors? Sure. Convert to web-safe palette? Got you covered. Limit the colors to 8 for each 4 x 4 pixel blocks? Smooth sailing.

Full disclosure: it generates much better results than Imagemagick "png8:", and it handles animated PNGs too.

Comment by gwbas1c 1 hour ago

TLDR to your response to me.

You should update the page to say that. I'm not going to jump through all those hoops to understand what a link on Hacker News is about.

Comment by skrellm 19 minutes ago

> You should update the page to say that.

Definitely not. That page is the web service. And if you meant the HN post, that's no place for long explanations either, imho.

The info you seek is in the README of the repo, where it belongs.