Newbie wants help with gdk_rgb or something like that



Hi
I'm kind of new to GTK/GDK and my question might be rather stupid but in that case you can easily give me an answer:)
I'm writing a program for loading different kinds of images from the HD and the displaying them on the screen. The loading of the imgs is no problem but when I have the data how am I going to do to show it on the screen? The data may be bitmapped (1 bpp), 256 colors or rgb (24 bpp) 'cause I'm reading quite a lot of different formats.
I know basic GTK (I've read the tutor) and C/C++. This program is written in c. The data is stored in matrixes with RGB-values or a pallette number and a pallette. Please help me out.


Chat with friends online, try MSN Messenger: Click Here


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