Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF format support #18

Open
7 tasks
JayXon opened this issue Aug 29, 2015 · 7 comments
Open
7 tasks

PDF format support #18

JayXon opened this issue Aug 29, 2015 · 7 comments
Milestone

Comments

@JayXon
Copy link
Owner

JayXon commented Aug 29, 2015

Things to do:

  • Format parsing
  • Optimize FlateDecode
  • Optimize DCTDecode
  • Remove unused object
  • Remove comments
  • Remove unnecessary spaces
  • Remove Metadata
@StephanBusch
Copy link

I would also vote for that

@JayXon JayXon added this to the 0.4.4 milestone Nov 26, 2015
@javiergutierrezchamorro

Very nice feature. Would like that too.

@ywwill
Copy link

ywwill commented Jan 6, 2016

Reduce PDF size is very useful.

@maadjordan
Copy link

It will be a very nice feature.. please take a look at https://github.com/pts/pdfsizeopt

@maadjordan
Copy link

adding the following would be nice:
1- convert deflate stream to jpeg2000 lossless mode if result is smaller.
2- cross reference duplicate object of streams.
3- convert ccitt g4 streams to jbig2 through jbig2enc (if present) at https://github.com/agl/jbig2enc
4- remove default 14 fonts https://en.wikipedia.org/wiki/Portable_Document_Format#Standard_Type_1_Fonts_.28Standard_14_Fonts.29
5- optimize embedded attachments or media ..
plus other tricks..

@blap
Copy link

blap commented Nov 26, 2017

up

@vitexikora
Copy link

That would be great!! I need to compress loads of PDFs, I tried more than 10 online solutions and 4 offline, most of them tragic, best is currently http://pdfcompressor.com, very good compression rates but zero DPS rescale and unnoticeable jpeg recompress. Only one solution gave better compression ratios but at the cost of brutal image recompression. However, its limit is 20 files per try and its an online solutions, which is a drawback itself.
If you manage to at least even it out, Leanify would became my swiss knife of compression tools. And I would buy you a few beers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants