Themis wrote:I applied libimagequant to 256-colors image and didn't find distortion. Does libimagequant really loses quality?
Thanks for pointing this out to me, Themis!
- Convert MSX2_Screen8_palette.png to truecolor and save it as BMP (Windows Bitmap).
- Duplicate the file and convert Copy of MSX2_Screen8_palette.bmp to 256 colors using libimagequant.
- Convert Copy of MSX2_Screen8_palette.bmp back to truecolor.
- Do a binary compare of MSX2_Screen8_palette.png and Copy of MSX2_Screen8_palette.bmp.
Depending on the input file, a few bytes in the header can be different (DPI info?), but the image data is identical.