Re: How to display JPEG/GIF/PNG images?
| From: | epplestun | Date: | Wed, 19 Mar 2003 16:30:19 +0000 |
| Subject: | Re: How to display JPEG/GIF/PNG images? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3110@lists.php.net to get a copy of this message | ||
To show jpeg, png and this types of images you need to use gdkpixbuf, you
have more info about this in gtk.php.net
----- Original Message -----
From: "Richard Gabriel" <rgabriel@coresense.com>
To: <php-gtk-general@lists.php.net>
Sent: Wednesday, March 19, 2003 5:25 PM
Subject: [PHP-GTK] How to display JPEG/GIF/PNG images?
How would I read in a GIF, JPEG, or PNG image from a file or URL and display
it in my PHP-GTK app? I have compiled the GD lib into PHP and I can create
image resources from those file types, but how do I convert the image
resource to a pixmap and mask for use when creating a GtkPixmap? Or is
there another easier way to do it? Thanks!