Re: opening gif images from gtk-perl
- From: eichin-gtk-perl thok org
- To: Kim Schulz <kim schulz dk>
- Cc: gtk-perl-list gnome org
- Subject: Re: opening gif images from gtk-perl
- Date: 07 May 2002 12:03:14 -0400
here are the key pieces.
$newimage = load_image Gtk::Gdk::ImlibImage($test_filename);
$newimage->render($use_w, $use_h);
my $my_image = $newimage->copy_image();
my $my_mask = $newimage->copy_mask();
$w = $g->get_widget('image_edit_pixmap');
$w->set($my_image, $my_mask);
image_edit_pixmap is a <class>GtkPixmap</class>.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]