david wrote:
> I have done that using GTK to display RGB images, but have not
> idea on how show jpeg images using GTK. Does anyone know that
> is pure GTK is able to do that?
This is pretty easy ... get the ijg jpeg sources:
http://www.ijg.org/
there's a set of notes in there called "libjpeg.doc", which explain how
to use the jpeg library to read a JPEG file into an RGB buffer in
memory.
HTH, John
--
John Cupitt, [EMAIL PROTECTED], +44 (0)20 7747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list