-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black and white scan uses JPEG image (on Brother scanner) #48
Comments
Interesting. How big are we talking? Are you saying that the file size with On my Brother MFC scanner, scanning a business card with Have you tried specifying |
Yes, the standard pdf output is 660KB, while the tiff -> pdf size is around 57KB (an A4 page with a big white space). |
660kb for a single page? What's the size without |
Sorry for the long delay, I was out of office. I tried, the size was 469 KB (at 200 dpi). 24 bit images compress better than 8 bit images in JPEG. I think this is due to a wrong strategy inside the Brother MFC. Can you interfere with it? |
By "wrong strategy", do you mean that when the scanner is instructed to scan in mono, it's also scanning at the wrong pixel depth? FWIW, I'm attempting to specify both in
I can potentially get more info if you can send me the output of
|
Sorry, I didn't notice your message. Here is the log:
The wrong strategy is inside the scanner software, as it scans black and white in JPEG. Don't you think so? |
It's maybe useful to say that the output (PDF containing a monochrome JPEG) is 253248 bytes, the corresponding G3 compressed TIFF is 37088 bytes (via pdfimages -all and imagemagick) while the resulting PDF (via tiff2pdf) is 21613 bytes. The visual comparison at 400% enlargement shows no difference. |
I see scanline uses |
Scanning in black and white (using
-mono
) with my Brother MFC produces very big files. If I extract images withpdfimages
, I see these are JPEG images.When scanning with
-tiff
the size is small even if converted to pdf.Is this a bug? Is it specific to my printer-scanner? Can I use this tiff image to output pdf files instead of piping them to an external program?
The text was updated successfully, but these errors were encountered: