I'm trying to load the EXIF thumbnail from images, when they are present in the EXIF header, within Gtk2. The perldoc of Gtk2::Gdk::Pixbuf says I have to use pack(), so I can pass the data to Gtk2::Gdk::Pixbuf->new_from_data();
my $thumb = pack('a*',${ $image->get_exif->{ThumbnailImage} }); my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_data($thumb,'rgb',TRU +E,8,160,120,640);
Any help, tips, pointers to URLs/docs is greatly appreciated!
Thanks,
a confused monkie..
to ask a question is a moment of shame
to remain ignorant is a lifelong shame
In reply to How to use pack() with Gtk2::Gdk::Pixbuf by insaniac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |