View Single Post
Old 07-20-2014, 06:58 PM   #869
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by MaxStirner View Post
Hi, I wanted to drop an idea (not a feature request at all) to think over. Do you think it would be beneficial to have some "compression" features in k2pdfopt given the fact that Kindle has a limited space availability (no memory card of course)? Most programs for this purpose are commercial and - worse still - Windows only, but I've been using some of them and the results are quite good, sometimes the PDF size is reduced by about 30% without any noticeable quality loss. Don't know exactly how it works but I've read that what the program does is - among other things - eliminating duplicates in the document structure.
I don't know if this is feasible for you to work on so as I said I'm only dropping an idea. Thaks for the great soft - seriously the best swiss knife for pdfs on small screens.
@MaxStirner -- thanks for the post. When writing native PDF files from k2pdfopt, I use the MuPDF library, and the native output essentially mirrors the source file, so the output file will be very similar in size to the source file. I'm not sure MuPDF has simple routines to compess the file further--I haven't looked into it carefully, but based on the write flags and the "pdfclean" utility that comes with MuPDF, it doesn't look like it. If there is a MuPDF expert that knows otherwise, please let me know.

The other type of k2pdfopt output is one bitmap per page, and there isn't much point in compressing that further since the images are saved as either PNG or JPEG, both of which are already compressed. There are settings in k2pdfopt that affect the size of the images, though (resolution, number of bit planes, JPEG quality, etc.). See my k2pdfopt FAQ, third question.
willus is offline   Reply With Quote