Use PNG 1-bit palette #141
mmitchell-w
started this conversation in
Ideas
Replies: 1 comment
-
|
Appreciate the request. Since this library renders via SkiaSharp, and SkiaSharp’s PNG encoder doesn’t expose palette/bit-depth options (such as 1-bit palette), adding this feature isn’t planned. We could consider it if SkiaSharp adds native support; otherwise achieving it would mean replacing the rendering backend. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Have you considered saving PNG using a 1-bit palette depth? In my tests with GIMP, that can save around 66% of the file size versus RGB (256x256).
See http://www.libpng.org/pub/png/book/chapter08.html#png.ch08.div.5.1
We're producing tens of thousands of these at once, so the size reduction would be noticeable to us.
Beta Was this translation helpful? Give feedback.
All reactions