scanimage producing invalid image files
dgersic@farfalla:~> scanimage -L
device `hpaio:
Hewlett-Packard HP_OfficeJet_
dgersic@farfalla:~> scanimage -T
scanimage: scanning image of size 637x877 pixels at 1
bits/pixel scanimage: acquiring gray frame, 1 bits/sample
scanimage: reading one scanline, 80 bytes... PASS
scanimage: reading one byte... PASS
scanimage: stepped read, 2 bytes... PASS
scanimage: stepped read, 4 bytes... PASS
scanimage: stepped read, 8 bytes... PASS
scanimage: stepped read, 16 bytes... PASS
scanimage: stepped read, 32 bytes... PASS
scanimage: stepped read, 64 bytes... PASS
scanimage: stepped read, 128 bytes... PASS
scanimage: stepped read, 127 bytes... PASS
scanimage: stepped read, 63 bytes... PASS
scanimage: stepped read, 31 bytes... PASS
scanimage: stepped read, 15 bytes... PASS
scanimage: stepped read, 7 bytes... PASS
scanimage: stepped read, 3 bytes... PASS
dgersic@farfalla:~> scanimage -V
scanimage (sane-backends) 1.0.27; backend version 1.0.27
If I scan a page with:
scanimage --format=pnm --mode Color --source ADF --resolution 300 -l 0
-t 0 -x 215.9 -y 279.5
The resuling pnm file seems to be corrupt. Neither ImageMatick convert
nor Gnome's viewer is happy with the file. Gimp will import it, and can
re-save it as a working pnm file (same for PNG and JPG), which then
convert is happy with.
I can provide examples of "bad" and "good" files if that would help.
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask David Gersic for more information if necessary.