[sane-devel] program to convert SANE format to JPEG
Tue, 01 Jul 2003 12:26:25 +0200
> aneesh m raj wrote:
> Hello all,
> Is there a program to convert SANE image format to JPEG.
Sane uses its own format only for internal purposes. All frontends I
know save the scan data in well known formats like PNM, TIFF, JPEG etc.
If you need to convert PNM files, e.g. produced by scanimage or
xscanimage, you can do this with Imagemagick (programs convert and
mogrify) or with the PNM tools. There exist probably far more conversion
tolls for the Unix world ;)
If you want to write your own frontend, have a look at the graphics
libraries distributed with every Linux distribution (and probably also
with other free OSes like FreddBSD and friends)