GithubHelp home page GithubHelp logo

barmem / pdfshrinker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pgodwin/pdfshrinker

0.0 0.0 0.0 16.14 MB

A quick Windows App to Compress PDF and Word/Publisher Files with Ghostscript

License: GNU Affero General Public License v3.0

C# 100.00%

pdfshrinker's Introduction

PdfShrinker

We needed a very simple way for staff to compress their PDF documents down so they could be sent via email. Adobe Distiller was overkill, and other tools involved too many steps or required the original documents to be modified. So to meet their needs I quickly put this small tool together.

This application uses Ghostscript to handle the compression. You will need to have a version installed in order to use this tool. If you already use PDF Creator or CutePDF then GhostScript is probably already installed.

For Word and Publisher files the Office Interop libaries are used to automate those applications to save your documents as PDFs before compressing them.

Usage

Simply drag some PDF or Word or Publisher files you'd like compressed to PDF and it will spit out compressed versions in the same directory as the originals. See below:

Drag and Drop

You can also press the Open button to browse for files using the regular Open File Dialog.

Requirements

You'll need Ghostscript installed. If you don't have a copy it can be downlaoded from https://www.ghostscript.com/download/gsdnld.html

To convert Word and Publisher files you'll Microsoft Word and/or Publisher installed on your PC. Trial versions are available from https://products.office.com/en-au/try.

Download

Binary releases available on https://github.com/pgodwin/PdfShrinker/releases

For source-code, this is Github - you're looking at the source!

Future Enhacements

I'm not looking at adding any features to the application anytime soon. However some useful ideas are:

  • Configurable compression setting Added by @blu3r4y, thanks!
  • Error handling/graceful failing if conversion/compression fails
  • Command-line options for batch jobs

License

As per Ghostscript requirements, this application is also licensed under the terms of the AGPL.

pdfshrinker's People

Contributors

blu3r4y avatar pgodwin avatar

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.