I have a bunch of images with various filenames (mainly date and time). I want to create the timelapse, where the filename will be visible somewhere in the corner (or at least one of the element-time).

enter image description here

enter image description here

Is it any OpenSource software, which could do it for me? Or preferably how can I do it in i.e. Python code?

  • 1
    \$\begingroup\$ Do you mean to simply display the file name while displaying the image? Or to actually modify the image so that it contains the file name drawn over the image content? Many image viewers have options to do the former, while the latter can be done via command line with e.g. ImageMagick (and probably others), or via GUI with pretty much any image editor... \$\endgroup\$
    – twalberg
    Aug 12, 2021 at 14:45
  • 3
    \$\begingroup\$ Could you perhaps indicate what you've looked in so far in terms of solutions? Anything you tried? Anything that failed for some reason? It would really help answerers as then they can take you're attempts into account when writing an answer. \$\endgroup\$ Aug 12, 2021 at 14:53
  • \$\begingroup\$ Does this answer your question: How to overlay date and time onto the corner of photos? \$\endgroup\$
    – scottbb
    Aug 12, 2021 at 16:23

1 Answer 1


If you do not insist very much for opensource and you will agree with free software you can use XnView MP.

  • Open in Browser mode
  • Select images
  • Ctrl+U (batch convert)
  • For action select Image->Text enter image description here
  • Enter in the field {Filename} or select it clicking on right arrow

enter image description here

  • Set output parameters (if required) and press Convert
  • \$\begingroup\$ Yes, it works! Is there any chance to modify this filename? Remove some strings from there? \$\endgroup\$
    – Geographos
    Aug 16, 2021 at 18:20
  • \$\begingroup\$ @MKR, I am afraid you can't remove or modify. You can only add info. Check submenus, you will find a lot of options there. \$\endgroup\$ Aug 16, 2021 at 19:43
  • \$\begingroup\$ @MKR, if you want to have only time you can add something like: {Creation Date [H-M-S]}, this is hour, minutes, seconds of image creation (get from meta info, not filename) \$\endgroup\$ Aug 16, 2021 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.