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
-------
- `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>
==========================
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>
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.2.tar.gz
(4.4 kB
view hashes)
Built Distributions
pdfserenitynow-0.2-py3.2.egg
(6.8 kB
view hashes)
pdfserenitynow-0.2-py2.7.egg
(6.8 kB
view hashes)
pdfserenitynow-0.2-py2.6.egg
(7.0 kB
view hashes)