Sometime on Thu, 08 Jun 2006 10:01:22 -0700, kdubs scribbled:
Is there some type of program that enables you to stamp multiple
images, somewhat like a batch utility, and perhaps have the stamp
ascend the given date or time? Preferably for .tiff, .jpeg, .gif ... or
perhaps refer me to a newsgroup that could help? Thank you very much
all. ~!
ImageMagick can do it.
This is the guts of a shell script I use to grab a webcam image approx.
every 30 seconds and stamp each frame with the date and time in mmddhhmmss
format as well as name the file in the same form. You could probably
adapt it do what you want.
while [ "`date "+%H"`" != ${stoptime} ] ; do
# set base filename to date/time
fname=`date "+%m%d%H%M%S"`
# Grab raw "preview" from from webcam
/usr/local/bin/gphoto2 --quiet \
--filename `echo ${fpath}${fname}` \
--capture-preview
# Use ImageMagick to timestamp the frame and convert to jpg
line="/usr/local/bin/convert
-font helvetica -fill white -pointsize 20
-stroke black -strokewidth 3
-draw 'text 210,230 \"${fname}\"'
-stroke none -draw 'text 210,230 \"${fname}\"'
-quality 100
${fpath}${fname} ${fpath}${fname}.jpg"
eval $line
#delete the raw frame
rm ${fpath}${fname}
sleep 27
done
The above runs on FreeBSD (and probably most any Unix-like system) but
ImageMagick also comes as a Windows version too if you want. It still
requires you to write a batch file to operate it in a meaningful way
though.
If you're a pure pointy/clicky kind of guy then I can't help you. There
might be something out there but I've not looked.