On 05/07/2015 08:37 AM, Anton Aylward wrote:
On 05/07/2015 11:22 AM, Istvan Gabor wrote:
Hello:
I would like to scan some documents and save them as pdf files (1 file/page is OK). I'd like to use xsane copy function for this. xsane has a direct save to pdf option but the resulted pdf files are very big. But for copy function a literal command can be given, and xsane forwards the scanned data to the command. I thought that I could use i gs command which compresses the scanned image and saves it as pdf file, but I don't know how to use gs.
An example gs command that could be used for this would be appreciated.
Have a look at ps2ps. I know it says 'postscript" but 'gs', for which this is a wrapper, seems capable of doing many things including converting back and forth between ps and pdf. I suspect that pdf->ps->pdf will do some optimization.
See also ps2pdf,
Finally there is pdftk which has so many options ...
I use Xsane for scanning lots of documents for my Homeowners Association. The key is the resolution, and level of color. Fiddle with that for a while till you find an acceptable yet readable size, and save that a profile for your use. I use the Lineart setting (black and white documents) On my scanner, 75 is unacceptable, hard to read. 14.3 K for one page. 100 is a mess, but readable, 22k 150 is acceptable for routine stuff 42k 200 does not seem all that much better than 130 70K 300 is very nice, especially if you ever plan to print them 132K For Color/Grey Scale there is a big improvement in quality. But at a price. 300 Gray Scale and that 132K Baloons to 1.2 Meg. 300 Full Color ballons to 5.8 meg. So use the lowest color content you can get away with, and think carefully about reducing resolution. You pay a big price in quality for reducing resolution. My standard for this is Resolution at 300 and Line art. Yeah, they are a little large - around 70K, but if you ever need to print them out in the future they look almost as good as the original. Disk space is cheap these days. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org