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

RSS Recent releases

  •  01 Mar 2003 16:07

No changes have been submitted for this release.

RSS 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

Aspose.Slides for .NET

A .NET component to read, write, and modify a PowerPoint document.

Screenshot

Project Spotlight

netsane

A multipath routing tool.