How to display JPEG/GIF/PNG images?
| From: | Richard Gabriel | Date: | Wed, 19 Mar 2003 16:25:07 +0000 |
| Subject: | How to display JPEG/GIF/PNG images? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3109@lists.php.net to get a copy of this message | ||
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!