[cairo] Pixmaps and colortables

Kees Kling ckling at upcmail.nl
Thu Jul 12 13:15:33 PDT 2012


On 07/12/2012 06:52 PM, Maarten Bosmans wrote:
> 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.
>
> Maarten
>
Thanks Maarten,
I thought so and meanwhile I wrote a simple conversiontool which does 
what I need

Regards

Kees


More information about the cairo mailing list