Gtk2::Image Loading a png from scalar



I have a library (GD::Graph, GD::Dashboard, etc) that can create an image and put it in scalar reference. It can also make a physical file on the file system which I can load in with Gtk2::Image->new_from_file("file.png").
What I want to know is if there is a way to take the scalar
( my $image = $dash->png() ) that the library can produce and load that into the application without having to write the file to the file system and read it again. Thanks for your time, Ben Carlson





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