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

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

 



Hello.

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

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux