scanimage --format=tiff | convert tiff:- Dateiname.jpg
Credits: Stackoverflow: On Linux, how do I take the TIFF that SANE's scanimage outputs and convert it to a JPEG with a pipe character?