14 March 2003

Exercises in narcissism


I checked out a href="http://web.canon.jp/Imaging/PSS40/PSS40-e.html">camera from
the New Media Lab at href="http://www.princeton.edu/oit">OIT. As I was taking pictures
of Edwards, Mark Daniels asked if I was on a href="http://www.princeton.edu/~tigermag">Tiger mission. I
answered in the negative, and told him that "I felt this sudden urge
to document my life."



I've placed the raw images (with all of the vertical-frame images
rotated) online in the photos
section. I may post a more heavily-edited gallery in the future; for
the moment, there are some out-of-focus, underexposed, or overexposed
shots included in the collections.



I used a modestly-hacked (to include more navigational links)
version of Fred's Gallery
Generator
(yes, that's the real name of the package), which was
the only web-gallery script I could find that didn't look like
raked-over garbage. (I hate to admit it, but Adobe did a good job with
their gallery-generating software.)



The most irritating issue that came up during the photography
exercise was the question of how to rotate the photos that I took with
the camera held vertically. It would take far too long to load,
rotate, and save each one in the unfortunately-named href="http://www.gimp.org">GNU Image Manipulation Program. href="http://packages.debian.org/stable/graphics/eeyes.html">Eeyes
took three clicks to do each one, but (horrors!) it silently
recompressed the JPEGs when I saved them, throwing away a good deal of
the data.



Much later yesterday evening (actually, very early this morning), I
stumbled upon href="http://packages.debian.org/unstable/graphics/libjpeg-progs.html">jpegtran.
I wrote a short shell-script to rotate the files,


#!/bin/sh
jpegtran -rotate 90 $1 >$1.tmp
jhead -te $1 $1.tmp
mv $1.tmp $1


and bound it to Ctrl-1 in href="http://packages.debian.org/unstable/graphics/gqview.html">GQView.
(GQView lets one bind external editors to keys.) From there, it was
simply a matter of pressing the down arrow and Ctrl-1 or Ctrl-2 (to
activate another script for 270-degree rotations).



The only difficulty with the approach was that jpegtran dropped the
Exif headers. fgg
includes Exif-header information (bits about exposure, flash, etc.) in
the galleries it creates, so I didn't want to leave it
out. Fortunately, it was straightforward to use href="http://packages.debian.org/unstable/graphics/jhead.html">jhead
to copy the headers from the original files.



The galleries are here. The narcissism
I alluded to in the title is here.


No comments:

Post a Comment

About Me

blog at barillari dot org Older posts at http://barillari.org/blog