[sane-devel] Canon MF4320-4350

scar scar at drigon.com
Sun May 23 02:06:53 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

scar @ 05/15/2010 12:56 PM:
> we have a ton of text documents that need to be scanned, and lineart is
> the best option.  the ADF works well and i can easily create multi-page
> PDF's with xsane, too.  does anyone know of an easy/batch method to
> convert PNG and PDF files to lineart?

so far, i've found imagemagick.  scan everything to PNG and then i run:

convert -verbose -threshold 50% -quality 100 -type bilevel -adjoin *.png
out.pdf

it worked well, about 45 MB of grayscale images to 2.5 MB PDF file.
but, it's dog slow and takes a ton of memory, for just 30 images it took
about 30 minutes and all kinds of swap memory.. brought my system to
it's knees (it's a six year old laptop though).

it would be nice if there was a way to force the backend to offer
lineart, maybe by making some changes in the source?  i'd like to see if
it's possible.

-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkv4jb0ACgkQXhfCJNu98qCvAQCgo8EKkMjaN2DGu+UtGOOWxthe
k8sAoKLPSHe6sBA+rSQ4bunG68YjTNTA
=OeqF
-----END PGP SIGNATURE-----




More information about the sane-devel mailing list