Re: Display TIFF Image
- From: Emil Nowak <emiml wp pl>
- To: gtkmm-list gnome org
- Subject: Re: Display TIFF Image
- Date: Thu, 13 Jul 2006 23:54:37 +0200
On 2006-07-13 (Thu), at 08:35:59 Hracek, Petr wrote:
> Problem is that I make some operation with images
> e.g. Edge detection, transfer from Color2BW, trimming image etc. and
> image is saved in the memory
> as a field int * data;
So you will have to read what is this format about and covert it to something
acceptable in pixbuf/pixmap. Method create_from_data() from Gdk::Pixbuf takes
guint8* data as argument, so this one will be probably the easiest way.
Another easy way would be save image to some temporary file using libtiff,
and then open it with Gtk::Image.
] [Thread Prev