Re: Pixmaps and colortables

Maarten Bosmans <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CA+CvcKSnGOUQs1Ge_kZHx73xmhUgzY11Fpj0O-FzqNpB2PBCiw@mail.gmail.com>
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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.