Re: only pixmaps available?
| From: | Andrei Zmievski | Date: | Thu, 16 May 2002 15:08:57 +0000 |
| Subject: | Re: only pixmaps available? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2001@lists.php.net to get a copy of this message | ||
> Can we use any other image formats other than pixmaps ? I am pretty sure
> the answer is no but I thought I would ask anyway.
>
> I have built a thumbnailer for my app that grabs images from a directory
> and then convert via ImageMagick & exec() to XPM,s for display, it
> works fine , just slow is all, I have seen other GTK-python/tcl based
> apps that have groovy image browsers, & I can't imagine that they are
> converting from one format to another as quickly as they display, or am
> I just imagining things?
You can use GdkPixbuf class (compile with --enable-gdkpixbuf) to load
and display images in various formats. But saving images is not
supported.
-Andrei http://www.gravitonic.com/
* Who is Ray and why would we want to selectively trace him? *