07-27-2021, 10:40 PM
Better use ImageMagick in a shell script for this:
https://legacy.imagemagick.org/Usage/text/
https://legacy.imagemagick.org/Usage/annotating/
https://legacy.imagemagick.org/Usage/text/
https://legacy.imagemagick.org/Usage/annotating/