commit | d9dfa18372119c8e1318125d2075fa80e0819094 | [log] [tgz] |
---|---|---|
author | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Apr 24 13:01:01 2013 +0000 |
committer | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Apr 24 13:01:01 2013 +0000 |
tree | 1a4a321c54972e86cf5bec762839145a01f028dd | |
parent | 6238c57c8dd8ddc14ca778017a0c43ba773b744f [diff] |
Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream. This change will reduce the size of PDFs to 50% (in the case of the existing SKPs, we reduce the total size of PDFs from 105MB to 50MB) Review URL: https://codereview.appspot.com/7068055 git-svn-id: http://skia.googlecode.com/svn/trunk@8835 2bbb7eff-a529-9590-31e7-b0007b416f81