06-02-2022, 07:44 AM
I was looking at this yesterday, but got side-tracked
I thought there might be a old script or two but the only ones I found, not working in Gimp 2.10 and not likely to do what is required anyway.
As with Ofnuts post the most obvious is ImageMagick (IM) and it has a built in variable for this %t (shown in that post Ofnuts referenced) but I have used it in the past as:
For a single image
For a folder full of images
note: mogrify works in place so use copies of the images otherwise lose the original.
and that gives. https://i.imgur.com/z6snAbB.jpg
For something with a GUI there is XnViewMP. It is possible for individual images but really meant for batch operations. Once set up it does remember the settings. https://i.imgur.com/t1AXKh5.jpg
Nothing official, A search often brings up something. At the moment best collections of scripts;
https://www.gimpscripts.net/ https://www.gimphelp.org/script210.html
![Wink Wink](https://www.gimp-forum.net/images/smilies/wink.png)
As with Ofnuts post the most obvious is ImageMagick (IM) and it has a built in variable for this %t (shown in that post Ofnuts referenced) but I have used it in the past as:
For a single image
Code:
magick filein.ext -font Arial -pointsize 72 -fill white -annotate +100+100 %t fileout.ext
For a folder full of images
Code:
mogrify -font Arial -pointsize 72 -fill white -annotate +100+100 %t *.*
and that gives. https://i.imgur.com/z6snAbB.jpg
For something with a GUI there is XnViewMP. It is possible for individual images but really meant for batch operations. Once set up it does remember the settings. https://i.imgur.com/t1AXKh5.jpg
Quote:Is there an official repository of ready to use
Script-fu (or Python-Fu) scripts?
Nothing official, A search often brings up something. At the moment best collections of scripts;
https://www.gimpscripts.net/ https://www.gimphelp.org/script210.html