Re: Pixmaps and colortables
Kees Kling <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 07/12/2012 06:52 PM, Maarten Bosmans wrote: > 2012/7/4 Kees Kling<[email protected]>: >> 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 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo