Re: [Bug 922162] Re: pdf output file is 6 times bigger than if created by simple-scan
Le 30/01/2012 08:01, Jeffrey Ratcliffe a écrit : As I said, the file size depends heavily on the compression. You are using JPG compression, which is good for photo-type images, but not for scans of text. The image is 8-bit, when 1-bit would have done. You say that you are using thresholding, but the log file doesn't show this. Yes, it does, on lines 76 and 80 Try scanning with scan mode = lineart, and save the PDF with compression = auto. Ok, it works fines this way, thank you for your help. It would be nice to document that somewhere , because in my opinion, many scan are done just for plain text documents. I am really pleased with your help, fast and efficient, and with this program. Cheers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/922162 Title: pdf output file is 6 times bigger than if created by simple-scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/922162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 922162] Re: pdf output file is 6 times bigger than if created by simple-scan
On 30 January 2012 10:58, tranchais pma...@neuf.fr wrote: You say that you are using thresholding, but the log file doesn't show this. Yes, it does, on lines 76 and 80 No. Those just tell you the default settings, should you use the threshold tool. To actually use it, you have to go to Tools/Threshold. ** Changed in: gscan2pdf (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/922162 Title: pdf output file is 6 times bigger than if created by simple-scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/922162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 922162] Re: pdf output file is 6 times bigger than if created by simple-scan
As I said, the file size depends heavily on the compression. You are using JPG compression, which is good for photo-type images, but not for scans of text. The image is 8-bit, when 1-bit would have done. You say that you are using thresholding, but the log file doesn't show this. Try scanning with scan mode = lineart, and save the PDF with compression = auto. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/922162 Title: pdf output file is 6 times bigger than if created by simple-scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/922162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 922162] Re: pdf output file is 6 times bigger than if created by simple-scan
Le 26/01/2012 17:36, Jeffrey Ratcliffe a écrit : This depends heavily on the compression options you chose when saving the PDF, and whether you embedded OCR output. Please start with gscan2pdf --log=log save a PDF, close gscan2pdf, and post the log file. Thank you for your quick answer. In my scanning options I use neither ocr output nor file cleaning (I use a french user interface, it might be scan cleaning instead of file cleaning) You will find as attached files: 1. the log output (log_gscan.txt) 2. the file as output by gscan2pdf (test_gscan2pdf_1_500-12.pdf) : 500 means white threshold=0.500 and 12 black threshold=0.12 3. the file as output by simple-scan (test_simplescan_1.pdf You will notice that, in additionto the file size problem, the quality of the output file is much better with simple-scan. When the same document sheet is scanned with the default threshold values (white=0.005 and black=0.12) the file size goes down to 317,2 kb, which is still 4 times the size of simple-scan, with no visible quality improvement. ** Attachment added: log_gscan.txt https://bugs.launchpad.net/bugs/922162/+attachment/2696141/+files/log_gscan.txt ** Attachment added: test_gscan2pdf_1_500-12.pdf https://bugs.launchpad.net/bugs/922162/+attachment/2696142/+files/test_gscan2pdf_1_500-12.pdf ** Attachment added: test_simplescan_1.pdf https://bugs.launchpad.net/bugs/922162/+attachment/2696143/+files/test_simplescan_1.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/922162 Title: pdf output file is 6 times bigger than if created by simple-scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/922162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 922162] Re: pdf output file is 6 times bigger than if created by simple-scan
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/922162 Title: pdf output file is 6 times bigger than if created by simple-scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/922162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 922162] Re: pdf output file is 6 times bigger than if created by simple-scan
This depends heavily on the compression options you chose when saving the PDF, and whether you embedded OCR output. Please start with gscan2pdf --log=log save a PDF, close gscan2pdf, and post the log file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/922162 Title: pdf output file is 6 times bigger than if created by simple-scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/922162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs