Re: Display jpeg image only use GTK instead of using imlib and gdk-pixbuf



Hi,

John Cupitt <jcupitt gmail com> writes:

> > I would like to display jpeg images using pure gtk instead of
> > using imlib or gdk-pixbuf, because I want to keep my code as small
> > as possible.  As I know that imlib is quite big, and gdk-pixbuf
> > contains gnome both of which I intend not to use them.
> 
> gdk-pixbuf does not need gnome. It's really quite a small library.
> 
> You can call libjpeg directly if you are determined to avoid
> gdk-pixbuf: if you download the jpeg library sources there is some API
> documentation in there.

But since GTK+ contains and uses gdk-pixbuf you won't have any benefit
from doing that.


Sven



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