I want to put timestamps on all images in a directory based on the date created/modified.
I've seen a bunch of methods like this and this, but they all use the code %[exif:DateTimeOriginal]
which results in an error for me.
I can use the following code
convert input.png -annotate +100+100 "Hello" output.png
But I want to use this instead
convert input.png -annotate +100+100 %[exif:DateTimeOriginal] output.png
But it results in this error:
convert.im6: unknown image property "%[exif:DateTimeOriginal]" @ warning/property.c/InterpretImageProperties/3245.
Does anyone know a fix or can anyone suggest an alternative?