2006 / pnm - The Makefile-based Photo Converter

pnm - The Makefile-based Photo Converter

pnm is a set of scripts (bash, Python and Perl) and Makefiles that makes the life of a website owner easier by automating the process of converting, renaming and packaging photos for the web.

Installation

  1. Check out current svn trunk or use the tarball below
  2. Symlink the config: ln -s /path/to/pnm.conf ~/.pnmrc
  3. Edit pnm.conf and customize settings
  4. cd to your working area (default is: ~/fotos.create)
  5. Run "pnm oclean" to clean out output (most likely there is none) and re-create directories which are needed to output the files
  6. You should now be ready to go. Enjoy :)

Basic usage

  1. Download photos from digital camera, etc..
  2. Create YYYYMMDD.albumname folder and put photos there (e.g. 20061126.mytestalbum)
  3. Go to the created folder and run pnm-sanitize and/or pnm-sorttime as needed
  4. cd to your working area
  5. Type: pnm
  6. You get a list of possible targets
  7. To create a tagfile, use pnm tagfile albumname
  8. To create a package, use pnm pkg albumname
  9. To clean output, use pnm oclean albumname

Subversion repository

pnm's codebase is now managed over at Gna!. You can access the current codebase by using Subversion:

  • svn co http://svn.gna.org/svn/pnm/trunk pnm (public)
  • svn co svn+ssh://svn.gna.org/svn/pnm/trunk pnm (developers)

Mon Dec 17 13:23:43 2007 +0100