Results 1 to 9 of 9

Thread: PDF optimizing

  1. #1
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    925
    Thanks
    57
    Thanked 116 Times in 93 Posts

    PDF optimizing

    I'm in search for some PDF compression optimizations utilities that does NOT touch the quality in the pdf file.
    meta data removal and Huffman optimizing etc etc is needed. the pdf just have to look 100% exactly the same as before optimizing it.

    I've goggled around but cant find tools that i trust 100% in regards to the quality.

    -- edit ---
    Bonus question.
    I'm using publisher to make my pdf files.
    Does it help to optimize the compression on the pictures before importing them into the "book" to get a smaller final .pdf?
    Last edited by SvenBent; 30th December 2013 at 02:59.

  2. #2
    Member nikkho's Avatar
    Join Date
    Jul 2011
    Location
    Spain
    Posts
    554
    Thanks
    223
    Thanked 166 Times in 107 Posts
    My FileOptimizer tool is using Ghostcript as backend for PDF optimizing. Nevertheless it is downsampling images to 300 dpi, so even if unnoticeable a quality lost is happening, but if driving Ghostcript directly you would be able to not generate any quality reduction at all.

  3. #3
    Member
    Join Date
    Jul 2013
    Location
    Germany
    Posts
    24
    Thanks
    4
    Thanked 4 Times in 4 Posts
    PdfSizeOpt is the best tool I know for shrinking PDF files. There is no quality loss.
    https://github.com/pts/pdfsizeopt

    You can compare two PDF files with DiffPDF.
    https://github.com/vslavik/diff-pdf

    Resizing images and lossy compression like JPEG should be done before creating a PDF file.

  4. Thanks:

    seth (1st January 2014)

  5. #4
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    925
    Thanks
    57
    Thanked 116 Times in 93 Posts
    @Nikho
    I remember the name of the tool but could't not find it by the forum search
    can you you provide a link for a win32/64 executable ?

    2ebastian W
    Thank you i will look into those i really appreciate the diff-pdf it it works for me

  6. #5

  7. Thanks:

    nikkho (31st December 2013)

  8. #6
    Member Fallon's Avatar
    Join Date
    May 2008
    Location
    Europe - The Netherlands
    Posts
    164
    Thanks
    15
    Thanked 11 Times in 6 Posts
    I tested PDF compression on some books with good quality chess diagrams.
    Picking one: 'Tactics Time! 1001 Chess Tactics 1 Tim Brennan [2012-10-01]'.

    Original ePub size: 22,965,065 bytes
    PDF size, after conversion with Calibre: 46,458,862 bytes
    Used compression settings:
    • bicubic, jpg-compression, 150dpi
    • mono image, bicubic CCITT Group 4, 300dpi
    • apart from this - default

    • Results 1 (without noticable impact because of artifacts)
    - Foxit PhantomPDF Business 6x - 38,015,714 bytes (jpeg=medium)
    - Orpalis PDF Reducer 1.1.4 free version - 29,443,654 bytes (default+jpeg=veryhigh)
    - Nitro PDF Pro 9x - 29,401,946 bytes (jpeg=medium)
    - Foxit PhantomPDF Business 6x - 26,439,894 bytes (jpeg=low)
    - VeryPDF-PDF Compressor - 25,802,895 bytes (default settings)
    • Results 2 (very small impact by artifacts)
    - Nitro PDF Pro 9x - 19,917,466 bytes (jpeg=low)
    - Foxit PhantomPDF Business 6x - 18,767,872 bytes (jpeg=minimum)
    • Results 3 (some noticable impact by artifacts)
    - Orpalis PDF Reducer 1.1.4 free version - 19,820,544 bytes (default+jpeg=high)
    - Orpalis PDF Reducer 1.1.4 free version - 16,465,920 bytes (default+jpeg=medium)

    • Recommendation for Everyday Use:
    - VeryPDF-PDF Compressor, FoxitPhantomPDF Business.
    • Notes:
    - None of these Apps features a stepless percentage setting for Jpeg quality.
    - Phantom can make compatible with PDF 1.7 or later.
    - VeryPDFComp. has both nice results and a 'drag and drop' batch mode.
    - Orpalis free version has a dirty startup nag screen.

    Links
    http://www.foxitsoftware.com/Secure_PDF_Security/ <Foxit PhantomPDF Business
    http://cdn01.foxitsoftware.com/pub/f...F/desktop/win/
    http://www.verypdf.com/app/pdf-compressor/index.html <VeryPDF-PDF Compressor

    PDF Online Optimizers
    http://www.freepdfconvert.com <PDF Converter
    http://www.freefileconvert.com <Free File Converter (PDF)
    http://convert.neevia.com/pdfconvert/ <Neevia Document Converter (PDF)
    http://www.verypdf.com/online/free-p...ess-online.php <VeryPDF Comp.

    Untested
    Adobe Acrobat, ABBYY FineReader, PDF-Xchange, Nuance PDF, online optimizers, others.

    Links to non-proprietary formats:
    DjVu (often used for chess books)
    http://djvu.sourceforge.net/djview4 <DjVuLibre Reader, exports to PDF
    http://sourceforge.net/projects/djvu...Libre_Windows/
    ePub (eBooks)
    http://calibre-ebook.com/download_windows64/ <eBook Library Management
    http://www.adobe.com/support/digital...downloads.html <eBook Reader with clean Interface.








  9. #7
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,257
    Thanks
    307
    Thanked 797 Times in 489 Posts
    Converting back to ePub looks like a win in theory. Is that possible, or does it get larger or lose data?

  10. #8
    Member
    Join Date
    May 2008
    Location
    Kuwait
    Posts
    354
    Thanks
    37
    Thanked 38 Times in 23 Posts
    even epub is easier to optimize as its a zip format..

  11. #9
    Member Fallon's Avatar
    Join Date
    May 2008
    Location
    Europe - The Netherlands
    Posts
    164
    Thanks
    15
    Thanked 11 Times in 6 Posts
    Quote Originally Posted by Matt Mahoney View Post
    Converting back to ePub looks like a win in theory. Is that possible, or does it get larger or lose data?
    Converting -the book pick- back into ePub with Calibre default settings...
    'Tactics Time! 1001 Chess Tactics 1 Tim Brennan [2012-10-01].pdf' => 46,458,862 bytes
    'Tactics Time! 1001 Chess Tactics 1 Tim Brennan [2012-10-01].epub' => 34,317,714 bytes
    It doesn't get better, considering that this particular item may have started out as a kindle.
    Conversion in different directions seems to cost (something to check some more)

    Calibre has become the ePub Swiss Army Knife. At present it converts to ePub, MOBI, AZW3, FB2, HTMLZ, LIT, LRF, PDB, PDF, PMLZ, RB, RTF, SNB, TCR, TXT, TXTZ, ZIP.
    Convert PDF to EPUB in Calibre
    http://www.youtube.com/watch?v=-G74n_wGI1Q

    Quote Originally Posted by maadjordan View Post
    even epub is easier to optimize as its a zip format..
    Yes. ePub may have a shot at the consumer, with the rise of Calibre and the appearance of Adobe Digital Editions. An issue: it still looks like the little brother of PDF.

    DjVU with better compression and good quality, compared to PDF, seems to lose out.
    - at present there is no flawless conversion of more complicated document items (I guess).
    - PDF is also presented as security software in business (on average it will be sufficient).
    - Calibre doesn't support it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •