[sane-devel] scanadf not generating PNM images

m. allan noah kitno455 at gmail.com
Sun Apr 29 22:54:14 UTC 2012


Could you send a small scan?

allan

On Sun, Apr 29, 2012 at 3:27 PM, sean darcy <seandarcy2 at gmail.com> wrote:
> scanadf is generating images that aren't PNM. Maybe the it's generating raw?
> Shouldn't it be generating a PNM file? Is there an option to have it
> generate a PNM file?
>
> scanadf -vvv -x 215.9 -y 279.4 --mode gray -d 'brother2:net1;dev0' -r 400 -o
> /opt/scan/tmp/%04d
> scanadf: value for --br-x is: 215.9
> scanadf: value for --br-y is: 279.4
> scanadf: rounded value of br-x from 215.9 to 215.88
> scanadf: rounded value of br-y from 279.4 to 279.374
> scanadf: scanning image of size 1664x2199 pixels at 1 bits/pixel
> scanadf: acquiring gray frame
> Scanned document /opt/scan/tmp/0001
> scanadf: scanning image of size 1664x2199 pixels at 1 bits/pixel
> scanadf: acquiring gray frame
> Scanned document /opt/scan/tmp/0002
> Scanned 2 pages
> pnmtops /opt/scan/tmp/0001 > test.ps
> pnmtops: bad magic number 0x0 - not a PAM, PPM, PGM, or PBM file
>
> sean
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> 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 mailing list