Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Png compresses badly when the image contains too many different colors.

Old trick to squeeze a few kb out of a png: Use Posterize filter from Photoshop, with very light settings. Basically it will just flatten the number of colors.



Nah, just use Photoshop's "Export -> Save for Web (Legacy)", then set the file to PNG-8.

Now you can mess around with the number of colors in the color table, customise the color palette selection algorithm, dithering algorithm and dither amount.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: