Whole PDF compression -


i'm working on tool writing pdfs , trying find way compress objects , streams in pdf. number of pdfs i'm generating large, can substantially reduced compressing objects (or of pdf structure) flate stream. swear i've seen done before, none of pdfs i've looked @ seem it. tried using acrobat x compress "entire file compression", seems compress streams.

i've tried using objstm, doesn't have lot of support other file readers. need has little more support outside of adobe.

any suggestions appreciated!

in pdf can have 2 types of compression:

  1. stream compression - data compressed using various methods, pdf file structure not compressed.
  2. object compression - compress file structure, objects not include streams.

these supported compression scenarios in pdf. selecting right compression method depends on data want compress: page content streams flate compression used, 1bpp images use ccitt g4 or better jbig2, color images better compressed jpeg2000, etc.

object compression available since acrobat 6.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -