Re: php-Gtk and gif / png's
| From: | firepages.com.au | Date: | Tue, 22 Oct 2002 04:59:09 +0000 |
| Subject: | Re: php-Gtk and gif / png's | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2553@lists.php.net to get a copy of this message | ||
You can use imagemagick http://www.imagemagick.org via php
to convert any
image format into XPM format which you can then display as a pixmap in
PHP-GTK , i.e.
exec("c:\imagemagick\convert.exe c:\path\to\this.jpg
c:\path\to\this.xpm",$rets);
gotta tell you this can be quite slow if you want to display a lot of pics
;)
I dont think there is another way to display gifs/jpgs etc in PHP-GTK on
win32 - but happy to be told otherwise.
Regards,
Simon Wheeler
firepages.
----- Original Message -----
From: "Talnic" <Talnic@thewarcouncil.com>
To: "'GTK - List'" <php-gtk-general@lists.php.net>
Sent: Tuesday, October 22, 2002 11:03 AM
Subject: RE: [PHP-GTK] php-Gtk and gif / png's
> I suppose I should elaborate on this a little bit.
>
> Lets say I wana make a web browser in php-gtk, how would I get it to
> display the graphics from a web page. This isn't realy what I wana do,
> but if that is possible then what I wana do will be also.
>
> I run on winXP with php compiled with libpng, and libjpg
>
> -----Original Message-----
> From: Talnic [mailto:Talnic@thewarcouncil.com]
> Sent: Monday, October 21, 2002 7:24 PM
> To: GTK - List
> Subject: [PHP-GTK] php-Gtk and gif / png's
>
> I was wondering if it is possible to load a gif or png for display in
> php-Gtk, or how I would go about transforming those formats to a php-gtk
> readable format using php
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>