Re: help on RGB to jpeg
- From: David Neary <dneary wanadoo fr>
- To: gtk-list gnome org
- Subject: Re: help on RGB to jpeg
- Date: Tue, 30 Jul 2002 09:34:42 +0200
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: bolsh gimp org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]