Re: Displaying a v4l2 webcam output on memory buffer (rgb24) with GTK!
- From: Tadej Borovšak <tadeboro gmail com>
- To: Guilherme Raymo Longo <grlongo ireland gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Displaying a v4l2 webcam output on memory buffer (rgb24) with GTK!
- Date: Fri, 2 Apr 2010 14:04:43 +0200
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 gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]