Re: [gtk-list] Re: Gif pictures in widgets
- From: raster redhat com
- To: gtk-list redhat com
- cc: trog gtk org
- Subject: Re: [gtk-list] Re: Gif pictures in widgets
- Date: Wed, 13 May 1998 10:01:27 -0400 (EDT)
On 13 May, Trog shouted:
-> On 13-May-98 Johannes Keukelaar wrote:
-> > Or you could convert your gif to an xpm file. There are files in
-> > standard gtk
-> > to load those.
dont use xpm or gif - use png. it's compressed and small (unlike the
xpm), it is able to hav 24-bit color, loads fast, does not use
proprietary patented compression methods like gif, thus no legal
issues, and gdk_imlib can load them into a pixmap for you (with a mask)
in one command just like gtk.
-> Yeah, good for small images. However, the implementation is too slow
-> for big images. Fine for button sized images though. Also has the
-> advantage that you can include them into the executable. Have a look
-> at the 'buttons' and 'wheelbarrow' examples from the Tutorial.
-> E-Mail: email@example.com
-> And if you wonder,
-> What I am doing,
-> As I am heading for the sink.
-> I am spitting out all the bitterness,
-> Along with half of my last drink.
-> Go Bezerk! http://www.gtk.org/~trog
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
firstname.lastname@example.org /\___ /\ ___/||\___ ____/|/\___ email@example.com
Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced
218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs
Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ 919 547 0012 ext 282
+1 (919) 929 9443, 801 4392 For pure Enlightenmenthttp://www.rasterman.com/
] [Thread Prev