Re: Re: JPG/PNG/GIF images instead of XPM
| From: | Richard Gabriel | Date: | Mon, 24 Feb 2003 21:01:37 +0000 |
| Subject: | Re: Re: JPG/PNG/GIF images instead of XPM | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3059@lists.php.net to get a copy of this message | ||
I looked at that PHP manual page before I posted my question. I see
functions to read JPG/GIF/PNG/XPM images in, but how would I convert that
image resource to a pixmap and mask that are needed for a GtkPixmap?
Thanks.
-- Rick
----- Original Message -----
From: "Aaron Bishell" <aragorn@gamer.net.nz>
To: <php-gtk-general@lists.php.net>
Sent: Friday, February 21, 2003 5:26 PM
Subject: [PHP-GTK] Re: JPG/PNG/GIF images instead of XPM
> Aaron Bishell wrote:
>
> > Richard Gabriel wrote:
>
> > > Is there a way to display JPG, GIF, or PNG images in PHP-GTK instead
of
> > always using XPMs? Thanks.
>
>
> > > Richard Gabriel
>
> > http://www.php.net/manual/en/ref.image.php
>
> I should have mentioned in my previous post the image functions from the
> link above could be used to read a jpeg (etc), convert it to xpm and then
> display the xpm. A workaround but it should work.
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>