Re: Displaying a v4l2 webcam output on memory buffer (rgb24) with GTK!


You can create GdkPixbuf from your data and then paint that in expose
event onto GtkDrawingArea. You may have some troubles with timing the
output, but besides that, displaying should be trivial.

BTW, gdk_pixbuf_new_from_data() is the function that takes RGB data as
image source.


Tadej Borovšak
tadeboro gmail com
tadej borovsak gmail com

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