Re: draw a 16bpp unindexed image on PC linux



sanju reddy gopidi wrote:
Now i want to replace these APIs with the APIs which are meant for
16bpp.
But as iam novice to this GDKGTK stuff Please help me in this APIs

Which APIs i should use for drawing un indexed images?

GTK has a library for handling images:

http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/index.html

you keep the image in memory as a 24 bit RGB and it will render it to any display device for you (8, 16, 24, 32 bit etc.). Is that what you need?

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]