Coder Social home page Coder Social logo

shrink-pdf's People

Contributors

bnanes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shrink-pdf's Issues

Clarity on the nature of compression

Hi,

There is Peter Szabo's pdfsizeopt which works by applying various image lossless image compression techniques to the embedded images in the original PDF.

Is shrink-pdf lossless? Can you provide some benchmarks/comparisons etc. against pdfsizeopt?

Sign binaries

Please sign your binaries so they will run in Mavericks

Thanks and comments

Thanks for this nice piece of sw.
I wish to comment that output seems much cleaner than ghostcript based solutions.
I believe that PDFBox based tools (I also tried PDFFlattener but I need a pure CMD based approach - with same good outcomes) provide better optimization, in the sense that for same size output resolution is better.

Just one comment. For my 1GByte pdf input I had to add -Xmx2048m otherwise the run fails.

By the way, could I ask you to have a view to https://github.com/cityssm/pdfFlattener

In my tests, for my PDFs, I get 25% smaller files with your SW than with the pdfFlattener for at my eye similar quality, but would like to know if your sw also removes any active content.

If not, could you have a view to cityssm/pdfFlattener#4
Perhaps you could contribute easily a pull request to introduce a no gui version in pdfFlattener, or perhaps to fork or create one... I would do myself, but I am really illeterate on these subjects, just a CMD user... I tried to understand PDFBox and I am really not knowing where to start...

Thanks in advance!
CT

color model not working?

This program has worked for me before but for some reason it is giving me rather strange output on these specific pdfs.
earth114_lect02.pdf
earth114_lect02_SHRUNK.pdf

I'm using the tool to compress lecture slides from all my past classes, so I don't have the source files. It has seemed to work fine for all my other classes.

UNIX: Pre-built app line endings and executable bit

There are two issues with the shrink-pdf.sh file in the pre-built app archive. It needs to have its executable bit set (not sure if this is possible in a zip file), and it needs to have unix line endings (i.e. LF instead of CR). Currently the user needs to make these two changes manually, which can be confusing for non-geeks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.