dontprint icon indicating copy to clipboard operation
dontprint copied to clipboard

Error sending mail

Open rolandog opened this issue 7 years ago • 2 comments

Operation: sending

It might have been a very large PDF. The original file was a 600 page, 8 MB PDF that turns into a 120 MB file with k2pdfopt.

rolandog avatar Jan 21 '17 05:01 rolandog

Got the same issue with a 1.4 MB, 313 page PDF. Forgot to mention I'm using a Kindle PaperWhite (third gen).

After some research, I found the following information about Amazon's file size limit. It seems that sending emails with 50 MB or larger attachments isn't allowed.

Is there a way to try to minimize file sizes? Or perhaps some heuristics to try to warn users if their PDFs might result in a very large file?

rolandog avatar Jan 25 '17 15:01 rolandog

@rolandog

Is there a way to try to minimize file sizes?

Yes, there is. Pass the -n flag to k2pdfopt. It will keep the vector description of the text. Otherwise, it is converted to image (without OCR), that's why you got such a large file size. See http://www.willus.com/k2pdfopt/help/native.shtml

CsatiZoltan avatar Oct 09 '17 17:10 CsatiZoltan