Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

ADF produces invalid images #8

Open
rumpeltux opened this issue Jan 22, 2019 · 0 comments
Open

ADF produces invalid images #8

rumpeltux opened this issue Jan 22, 2019 · 0 comments

Comments

@rumpeltux
Copy link

The automated document feed function is a bit broken as it produces (incomplete) JPEG images with dimensions that tools can’t open:

$ file scan0.jpg 
scan0.jpg: JPEG image data, JFIF standard 1.02, resolution (DPI), density 100x100, segment length 16, baseline, precision 8, 826x65535, frames 3

accordingly also the receiving data: estimate is wrong.

Not sure if the tool can easily fix this. Otherwise some external processing can probably fix the header and make the image openable.
A quick hack that doesn’t take the actual image height into account is:

echo "a5: 0f" | xxd -r - scan0.jpg
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant