hzeller/timg

Customize title

xeruf opened this issue · 1 comments

xeruf commented

I would like to have a way to pass a command for generating the title shown above each image, e.g. to include its size

The --title now allows a format string, so you could for instnace say --title="%f (%wx%h)" to also print the image dimensions. Since filenames can be long with the full path, %b is just showing the basename.