[sane-devel] ghostscript so much better with pdf files than xsane

Oliver Rauch Oliver.Rauch at Rauch-Domain.DE
Sat Dec 1 00:03:35 UTC 2007


Did you enable "save PDF zlib compressed" in preferences/setup/file
type ?

Best regards
Oliver

Am Freitag, den 30.11.2007, 23:05 +0100 schrieb Julien Michielsen:
> The filesize of as pdf saved scans is enourmous: one page scans often
> take more than 14 Mb of filespace. However, when reading a couple of
> them with ghostscript, in order to make a multipage pdf-file of it, the
> result shrinks to less than 15% of the original file:
> -rw-r--r-- 1 julien users  1817720 Nov 27 23:31 07brbtot.pdf
> -rw------- 1 julien users 14808071 Nov 27 17:48 07brb1.pdf
> -rw------- 1 julien users 16691483 Nov 27 17:50 07brb2.pdf
> -rw------- 1 julien users 13640821 Nov 27 23:30 07brb3.pdf
> 
> The first line (of 07brbtot.pdf) is the combination of the three pages
> 07brb1-3.
> 
> The command to create the combined file:
> 
> gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
> -sOutputFile=07brbtot.pdf 07brb1.pdf 07brb2.pdf 07brb3.pdf
> 
> Especially when sending pdf's bij mail it is usefull to have small scan-
> files. Couldn't xsane incorporate a call to gs to reduce it's output?
> 
> Thanks
> 
> -- 
> Julien Michielsen
> julien_at_michkloo.xs4all.nl
> 
> 




More information about the sane-devel mailing list