[conspire] knowledge share: jpgcomment(1) for commenting jpeg files

Eric De Mund ead-conspire at ixian.com
Sat Feb 12 11:48:03 PST 2005


People,

You might find jpgcomment(1) as useful as I do for commenting JPEG
images that you store and save in your personal databases. I didn't need
to download anything other than the one Tcl script jpgcomment.tcl; my
Slackware 10.0 distribution already had djpeg(1), rdjpgcom(1), and
wrjpgcom(1). From my notes:

/------------------------------
jpgcomment.tcl
http://www.aq.org/~js/tools/jpgcomment/ (contains screenshot)

This is a script for adding comments to JPEG image files. The JPEG
format supports including textual comments, and some versions of Linux
ship with rdjpgcom and wrjpgcom commands that let you add/ replace such
comments. However, I wanted to have a graphical tool so I could look at
(a thumbnail of) the image as I added comments to it. Also, when I'm
adding comments to a bunch of pictures, there's often a lot of text I
want to be similar among all the pictures (e.g. copyright notice, place,
and date). So I wrote jpgcomment. It requires the djpeg, rdjpgcom and
wrjpgcom executables (distributed with the Independent JPEG Group's JPEG
library, and as part of the libjpeg RPMs of many Linux distributions)
and pnmscale to create the thumbnail. And since it's a Tcl/Tk script, it
needs Tcl/Tk (at least version 8.0). (If you have a wish8.0 binary on
your system, you're probably all set.)
\------------------------------

Cheers,
Eric
--
Eric De Mund              |   Ixian Systems, Inc.   | cell: 650.303.4336
email: <ead at ixian.com>    | 650 Castro St, #120-210 |  fax: 240.282.4443
http://www.ixian.com/ead/ | Mountain View, CA 94041 | Y!IM: ead0002




More information about the conspire mailing list