Re: [gtk-list] Re: how to encode for 256 color pixmap?



On Wed, 13 Oct 1999 10:31:26 -0200, Marco Sousa wrote:
> Did u tried .PGM files? it uses raw data and suport 256 colors.There are some
> tools to
> convert to jpg too. (cjpeg i think).

JPEG is a nice compression standard for *natural* images, as soon as you
want to compress artificial images, you'd better use gif or png.

I think the original poster wants the pixmap for a button or a background
image; those images are allmost allways artificial images. GTK directly
supports XPM (both runtime loaded, as well as compile time linked), as soon
as you want a different image format, you have to include a decompression
engine.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




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