Projects / img2pdf

img2pdf

img2pdf is a simple commandline utility to convert a list of PNG, TIFF, or JPEG images to a single PDF document, one image per page. It was designed specifically to convert scanned pages to PDF format, but it will accept images of any aspect ratio and scale them to full page size (which, in general, will not maintain the aspect ratio). The hard work is performed by the Panda PDF library and its dependencies.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  02 Mar 2003 00:07

    No changes have been submitted for this release.

    Recent comments

    05 Jul 2006 11:42 mmraff

    img2pdf Makefile & instructions
    img2pdf-static target failed to build until I...

    * added the location of my DB static library (panda dependency; I chose Berkeley DB);

    * added the -pthread option

    I built on ubuntu, successfully after the above mods.

    The README provides a very helpful comment about panda's intermediate file 'panda.db'. I would add this observation though: you _must_ delete this file if, for any reason, you want to run img2pdf in the same location on some or all of the same image files. If you don't delete it before running img2pdf again, you'll find that the files processed in the previous run show up as blank pages in the output in subsequent runs.

    Screenshot

    Project Spotlight

    OpenStack4j

    A Fluent OpenStack client API for Java.

    Screenshot

    Project Spotlight

    TurnKey TWiki Appliance

    A TWiki appliance that is easy to use and lightweight.