Re: Working with an image from an http request



Grant McLean wrote:

Something like this should do the trick:

 my $loader = Gtk2::Gdk::PixbufLoader->new;
 $loader->write($png_data);
 $loader->close;
 my $pixbuf = $loader->get_pixbuf;
 

Thanks :)

-- 
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



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