Batch Imaging Stamp

  • Thread starter Thread starter kdubs
  • Start date Start date
K

kdubs

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. ~!



- kyle from kalamazoo
 
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?

"Ascend"? Did you mean "append"? Anyway, ImageMagick can draw
arbitrary text strings on images of almost any format with the -annotate
or -draw options. The command lines required may get long and complex,
though, and you may not be comfortable working on the command line.
There are ImageMagick bindings to C, C++, Perl, Java, Python, and a
bunch of other languages, if you know any of those.
http://www.imagemagick.org/ for the full scoop; it's Free and runs on
practically any OS. HTH,
 
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.
 
Hi Kyle,

There's several ways of digitally annotating on your images. However,
there's several conditions which would determine the best / easiest
process to get what you're looking for.

Are you looking to digitally annotate directly on each image during
scanning? (or, do the files already exist and you're looking to
annotate onto the images as a post-aquisition process?)

If you're looking for a solution to date/time stamp images from this
point forward, then which model/make scanner do you run?

It would be helpful to know which application you're running to aquire
the images as well to determine if it's a twain, ISIS, or ImageControls
application. (for example, the Fujitsu Twain and ISIS would have the
capability to digitally annotate information such as date stamp,
timestamp, logged in username, using the windows system information
directly onto your images if desired. The configuration would be within
the scanner's driver for our products...)

Thank you,

Danny Ha
(e-mail address removed)
 
Back
Top