Skip to main content

Create TIFs and JPGs from crappy PDFs

Project description

PDF Serenity Now

PDF Serenity Now was born from my increasing contact with annoying PDFs. The biggest culprit is multi-layered PDFs which take forever to print, if you can get them to print at all. I created the original script to convert these PDFs to a more printer-friendly format (for the KIP series of plotters), namely flattened TIF Group 4. I can also use a JPG version of PDFs for easy viewing on our web-based content management system.

At this time, it converts a folder of PDFs to a folder of TIFs. It handles large, crappy, multi-layer PDFs if you have enough RAM. ImageMagic does all of the hard work.

In the future it will be smarter about converting and offer more target formats. The ultimate goal is a service where users can upload/submit a crappy PDF and have nice sets of TIFs and JPGs returned to them or put into their destination of choice. It will have a web control panel where you can monitor and manipulate conversions in progress or in a queue.

Credits

News

0.1

Release date: 1-Sep-2011

Produce print-quality TIFFs and JPGs from a directory of PDFs.

  • Works on multilayer PDFs and some types of bad vectors

  • Each page of a multipage PDF will become one TIFF

  • tif_dir must exist before running script

  • Hard-coded values for output file format and DPI

  • ImageMagic (convert) must be installed and on your system path

Usage: serenifypdf <pdf_dir> <tif_dir>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfserenitynow-0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distributions

pdfserenitynow-0.1-py3.2.egg (6.4 kB view hashes)

Uploaded Source

pdfserenitynow-0.1-py2.7.egg (6.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page