|
Projects of Various Sorts
|
|
Coding Projectsdbgaldbgal is my take on igal. It's
the same sort of idea, but backed by a database and with pages dynamically created with
ruby. I like it. It'll improve when I muck with it some more, and when I get
around to working on metagal some more. To see dbgal at work,
go here.
metagal
metagal is a metagallery to go along with dbgal. Basically, the idea is to have a place where a number
of galleries can be listed, shown off, chosen from, and cool stuff like that. Like dbgal, it's backed
by the same database that dbgal uses, and generally interacts with (or, to be more correct, has the
browser interact with) dbgal to get its job done. To see (a screenshot of) metagal at work,
look here; the upper-right box shows what happens on mouseover
Thought ProjectsThough they're not described here, I am, indeed, thinking about things. The things I'm thinking about are cool and very crazy. They're fun. I might get around to describing them, or I might not; ::shrug:: Completed-ish ProjectsBelow are listed the projects that I'm no longer actively working on. This usually means that they're working fine enough for the time being, and I may hack on them a bit if needed later on. NEF WorkflowI take lots of pictures. Additionally, I usually shoot RAW, which means that at least a little processing has to happen in order to look at the full-sized images on my computer. To keep from going crazy, I've written some scripts, and modified some programs, so that stuff happens happily and without my intervention. nefextractUnknown to me until recently, all (D70-produced, at least) NEF files contain a full-size JPEG preview.
nefextract is a C program that pulls the preview out and writes it to stdout. The
original version of this program was written by Joseph Heled, who has authored
a number of tremendously useful tools for
messing with RAW files under *NIX. I have since modified the program to accept an output file on the command line, making it
a feasible tool for batch processing. My modified version is available
here, and a patch for
the original is available
here.
neftags2jpg
Neither dcraw nor nefextract transfers the metadata included in the NEF files to the output file. To remedy
the situation, Joseph Heled wrote neftags2jpg, which does exactly what its name suggests. The only significant change I made was to
have neftags2jpg copy all EXIF tags it finds -- as opposed to only "important" ones. My modified version is
here. The patch against
the original is
here. Note that my version of neftags2jpg
requires libexiv2 version 0.8, whereas the original requires version 0.6.2.
autoprocess.rb
To tie it all together, I wrote a simple ruby script. Basically, it
takes a bunch of relative paths to individual .nef files on the command line, and for each one, creates a subdirectory auto/ in the
.nef file's containing directory. It then uses nefextract and neftags2jpg to write a jpg of the same name inside of the auto/
subdirectory. You can check it out, if you want.
|