Re: Working with an image from an http request
- From: Daniel Kasak <dkasak nusconsulting com au>
- To: Grant McLean <grant mclean net nz>, gtk-perl-list gnome org
- Cc:
- Subject: Re: Working with an image from an http request
- Date: Fri, 24 Jun 2005 11:40:56 +1000
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]