Re: using jpeg files with GTK instead of XPM files



Hi,

"John" <john e-tv-interactive com> writes:

> Does anyone have any idea how to use jpeg files instead of XPM files in
> GTK. The file size of XPM files is so much that things are just taking
> too long to load.

sure, use gdk-pixbuf. It's included with GTK+-2.0 and comes as a
separate package for GTK+-1.2. It gives you a simple API to load and
display images in common formats such as JPEG, PNG and the like.


Salut, Sven



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