BitmapPalette equivalent in ImageSharp #1365
-
I'm porting a ImageSharp has done a great job at solving most of these issues, however I'm struggling to find a way to functionally replace Thank you for taking the time to read this. :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Normally we would recommend users utilize the color cutting algorithms in our Wu and Octree quantizers to create the palette to use when saving images in indexed pixels formats. However we do have a |
Beta Was this translation helpful? Give feedback.
Normally we would recommend users utilize the color cutting algorithms in our Wu and Octree quantizers to create the palette to use when saving images in indexed pixels formats.
However we do have a
PaletteQuantizer
class with which you can assign a custom palette then pass that quantizer instance to IImageEncoder instances allowing encoding in indexed format (currently BMP, PNG, GIF).