[sane-devel] Canon MF4320-4350
m. allan noah
kitno455 at gmail.com
Mon May 24 16:56:55 UTC 2010
I do not know if this machine can do lineart in software, many modern
machines cannot. Some backends do have code to create lineart in
software, sometimes using dynamic threshold algo (epjitsu comes to
mind). Perhaps that could be adapted to pixma, or (preferably) moved
to sanei_magic and shared.
But, in the meantime, you should certainly be able to find something
faster than imagemagick. How about outputting them as pnm instead, and
the using pnmtotiff -g4, then tiffcp to merge them, then tiff2pdf to
On Sat, May 22, 2010 at 10:06 PM, scar <scar at drigon.com> wrote:
> -----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
> 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-----
> -----END PGP SIGNATURE-----
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
"The truth is an offense, but not a sin"
More information about the sane-devel