simith nambiar wrote:
> hi
> does anyone know of a library for converting RGB24
> data into jpeg for Linux.
Look up jpeglib.
> can that be done using gtk only ?
If you want to have a look at how the GIMP does it, the file
you're looking for in the source tree is plug-ins/common/jpeg.c -
you cxan ignore all the plug-in stuff, and go straight to the
function "save_image" and it's children. Since GimpImages are
either grey, greya, rgb or rgba, you should find what you're
looking for there.
Cheers,
Dave.
--
David Neary,
Marseille, France
E-Mail: [EMAIL PROTECTED]
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list