[cairo] Pixmaps and colortables
mkbosmans at gmail.com
Thu Jul 12 09:52:18 PDT 2012
2012/7/4 Kees Kling <ckling at upcmail.nl>:
> buffer is just a char array, filled from the dataset. Result is a greyscaled
> but correct image. I need a color image and colors must be specified in a
> colortable , and I need full access to that table.
AFAIK there is no way of using a colormapped image in Cairo directly.
So you'll have to convert it to an RGB24 image yourself before handing
it to Cairo.
More information about the cairo