libpng icon indicating copy to clipboard operation
libpng copied to clipboard

Suggested Palette

Open avber opened this issue 2 months ago • 2 comments

I'm trying to apply custom color depths to channels, e.g. 5, 6 or 7 bit. This may lead to file size reduction may up to 50% while preserving enough quality. Currently it's implemented as additional encoding\decoding steps.

Do I understand it correctly that suggested palettes were designed for this purpose? 5, 6 or 7 bit numbers can be represented by 8 bit as required by the spec.

If yes, could you give pointers how to specify suggested palettes using python?

Thanks

avber avatar Dec 18 '24 12:12 avber