help on plotting RGB data



hi list,
         i have a problem here ! i have a Logitech
Quickcam driver - v4l compliant and i am reading data 
- the driver gives a frame of 352 X 288 pixels in RGB
format (3 bytes/pixel), now i need to plot it on a
window using gtk

 i should be using GdkDrawable - if iam not wrong ,
iam new to GTK. so could anyone tell me how i can 
put the RGB data on to the drawing area, is there a
built-in function to do that, iam not very well
acquainted with certain parameters in the Gdk.h
file.Please throw some light on that.


any hints or thoughts would be helpful,

thanks in advance,

Regards,
Simith

=====
/********************************************************/
"The GOOD thing about BAD things is that they END,
 the BAD thing about GOOD things is they also END"
 
 - Simith Nambiar ;-)
   mca mit
/********************************************************/

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com



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