skip to navigation
skip to content

pdfserenitynow 0.2

Create TIFs and JPGs from crappy PDFs

Downloads ↓

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
-------

- `ArgParse`_
- `Distribute`_
- `ImageMagick`_
- `modern-package-template`_
- `Pdftk`_

.. _`ArgParse`: http://pypi.python.org/pypi/argparse
.. _`Distribute`: http://pypi.python.org/pypi/distribute
.. _`ImageMagick`: http://www.imagemagick.org/
.. _`modern-package-template`: http://pypi.python.org/pypi/modern-package-template
.. _`Pdftk`: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/



News
====

0.2
---

*Release Date: *

* Switched to MIT License
* Added command line argument for DPI
* Added Python 2.6 compatability

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>
 
File Type Py Version Uploaded on Size # downloads
pdfserenitynow-0.2-py2.6.egg (md5) Python Egg 2.6 2011-09-02 6KB 210
pdfserenitynow-0.2-py2.7.egg (md5) Python Egg 2.7 2011-09-02 6KB 203
pdfserenitynow-0.2-py3.2.egg (md5) Python Egg 3.2 2011-09-02 6KB 229
pdfserenitynow-0.2.tar.gz (md5) Source 2011-09-02 4KB 226