Roland's homepage

My random knot in the Web


Update: This script has been moved to my scripts repo on github.

It is not uncommon for legacy 2D drawings to be scanned and then distributed as black/white TIFF files. While these files are relatively compact, viewing them can be a PITA. The previewer on windows XP (which is what we use at work) is slow. PDF files are much easier to open.

So I wrote a python script to extract data from TIFF files and convert them to PDF format using the tiffinfo and tiff2pdf utilities from libtiff.

When converting multiple files this is done in parallel using as many cores as the machine has.

This scripts requires python (version 3), tiffinfo and tiff2pdf from libtiff.

For comments, please send me an e-mail.

Related articles

←  Formatting git changelogs for LaTeX markphotos  →