RE: how can I display jpeg pictures in my gtk applications?



Hi Zou,

> Where can I find any samples about using jpeg in gtk?
> Who can give me a hint ? Thanks

use gdk-pixbuf. Don't use lib-jpeg, gdk-pixbuf was created to do this job
for you. Documentation is probably available somewhere at gnome.org
I can also give some sample code if you want (I use gdk-pixbuf for showing
jpeg images too).

Ronald Bultje





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