Re: Non xpm image format support



Quoted by a city of über sharks
For `weasel <weasel beyondnormal org>' 
On Wednesday, 03 December 2003 (11:23):

 Am I correct in assuming that all supported image file formats other 
 than xpm require the use of the Pixbuf?

 Is this correct?

        Almost, you can either create your own loader (for a simple format, like
Windows BMP), or use some library (like libjpeg or libpng) directly. You can
also use gdk-imlib.

        However, since current versions of GTK requires GdkPixbuf, it's better use it
if you're writing programs for GTK1.2.x and using some common formats (png,
jpeg, tiff, etc) -- you'll not have to rewrite some parts of your code in the
future :)

-- 

 Leandro Pereira              (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk

        irc.freenode.net, #debian-br
        <jahnke> o linux é o bootloader do emacs




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]