Is it possible tu use images with indexed colors in Skia ?
For making processings on the Look Up Table.
It depends on your definition of "image"...
If you mean SKBitmap, then yes. There are several members that allow you to manage the colors and the color table:
If you mean SKImage, then this is a little more complicated. The GPU implementation does not support indexed colors, so you have to make sure that you are working with a raster image if you want to access the color table:
How to convert from a RGB image to an indexed8 color image ?
Hi @cjacquel, I don't think that that is easily possible. Right now, Index8 is more of a read-only feature.
I would also like to point out that Google may be dropping Index8 support:
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies