Reputation: 23
I was thinking of using Imagemagick's convert program, as my preferred program nconvert doesn't work on the ARM CPU of the Raspberry pi.
Upvotes: 1
Views: 4209
Reputation: 46970
Looking at the convert
documentation , you can use a tiff:-
to represent a tiff file on the standard input or output stream. And scanimage docs say you need to give the format to get TIFF. Putting this together, you'd have:
scanimage --format=tiff | convert tiff:- scan.jpg
I don't have access to a machine where I can test this.
Upvotes: 3
Reputation: 1311
Specify -
as the input file to convert
– e.g.,
scanimage | convert - output.jpg
Upvotes: 1