Dragongeek
Dragongeek

Reputation: 243

Using filename to timestamp image

I have a ton of images that are all named after when they were taken (ie: 23_08_2016_23:34:21) and I want to add this string into the picture. I'm using raspberry pi, so this should be a script that I can just run and convert all the files in my folder (.jpg) into images with time-stamps in the bottom corner or so. I've looked at several softwares such as ffmpeg but I can't find whats right for me. Any recommendations?

Upvotes: 0

Views: 524

Answers (1)

mti2935
mti2935

Reputation: 12027

You can use PHP to annotate images or overlay text onto images. See http://php.net/manual/en/imagick.annotateimage.php

Upvotes: 1

Related Questions