Post Reply 

script to extract and overlay timestamp from jps images

Jun 16, 2014, 14:40
Post: #1
script to extract and overlay timestamp from jps images
Are there any scripts that can read the camera metadata timestamps and then overlay
this text info on the jpg image. I potentially have 9000 images that need to be done this way.

Thanks
Find all posts by this user
Quote this message in a reply
Jun 16, 2014, 15:25
Post: #2
RE: script to extract and overlay timestamp from jps images
Yes, there are such scripts but they don't use Gimp, they use ExifTool and ImageMagick. Stating or which operating system would help.

I'm also pretty sure that someone will chime in and state that XnView or IrfanView will do it.

Good image viewers will also display this kind of information, and would make such changes to the images unnecessary.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 16, 2014, 15:51
Post: #3
RE: script to extract and overlay timestamp from jps images
Windows 7, 32 bit OS

I need to create a timelapse animation, but I have to overlay the
timstamp on each image as it is displays, To do it manually would be
impossible.

(Jun 16, 2014 15:25)ofnuts Wrote:  Yes, there are such scripts but they don't use Gimp, they use ExifTool and ImageMagick. Stating or which operating system would help.

I'm also pretty sure that someone will chime in and state that XnView or IrfanView will do it.

Good image viewers will also display this kind of information, and would make such changes to the images unnecessary.
Find all posts by this user
Quote this message in a reply
Jun 16, 2014, 16:01 (This post was last modified: Jun 16, 2014 16:39 by rich2005.)
Post: #4
RE: script to extract and overlay timestamp from jps images
(Jun 16, 2014 15:25)ofnuts Wrote:  I'm also pretty sure that someone will chime in and state that XnView or IrfanView will do it.
I am the same as Ofnuts, went straight to ImageMagick. If using it be careful with mogrify, while it makes it easy to run through a folder full of files it does overwrite the original.

Pulled this from my notes. You would need a batch file around this
Code:
convert inward.jpg -font Arial -pointsize 72 -fill white -annotate +100+100  %[exif:DateTimeOriginal] output.jpg

Otherwise batch convert in XnViewMP to the rescue and more options than you will ever need.

[Image: lVAkG3f.jpg]

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 16, 2014, 16:28
Post: #5
RE: script to extract and overlay timestamp from jps images
Just read those posts again

Quote:...I potentially have 9000 images that need to be done this way.
Quote:...I need to create a timelapse animation, but I have to overlay the timstamp on each image as it is displays...

Animation or video?

Even for a slow-ish video at say 10 frames per second that is 15 minutes duration and the timestamp would be a flicker.
A gif animation, what sort of file size is that going to be? (assuming it is possible)

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 17, 2014, 20:33
Post: #6
RE: script to extract and overlay timestamp from jps images
XNView does the whole thing for the datestamp.

Batch process /Add Text/ Tijmestamp.

Then I load the new image files into Virtualdub, set frame rate to 5,
create uncompressed avi

Then I drag avi into any video converter to create wmv/mpg.

easy peasy (now)


(Jun 16, 2014 16:28)rich2005 Wrote:  Just read those posts again

Quote:...I potentially have 9000 images that need to be done this way.
Quote:...I need to create a timelapse animation, but I have to overlay the timstamp on each image as it is displays...

Animation or video?

Even for a slow-ish video at say 10 frames per second that is 15 minutes duration and the timestamp would be a flicker.
A gif animation, what sort of file size is that going to be? (assuming it is possible)
Find all posts by this user
Quote this message in a reply
Jun 18, 2014, 09:46
Post: #7
RE: script to extract and overlay timestamp from jps images
easier - peasier Wink

Code:
ffmpeg -r 5 -b 1000 -i image%03d.png out.avi

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Exporting Multiple Layers Into Images (PNG, JPG, etc) SavingMultipleImages 22 10,670 Oct 6, 2014 10:59
Last Post: rich2005
  Calling script from cmd under Linux outputs strange behaviour INV_SIG 7 402 Sep 19, 2014 22:29
Last Post: INV_SIG
  Imagemagick is not compressing images like GIMP rublacava 1 293 Aug 23, 2014 08:23
Last Post: rich2005
  Shell script help wanted please Weatherlawyer 2 289 Jul 30, 2014 19:31
Last Post: Weatherlawyer
  Plugins/script help needed stigzler 1 256 Jul 5, 2014 15:20
Last Post: stigzler

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS