Gimp-Forum.net
Programmatically change text - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Programmatically change text (/Thread-Programmatically-change-text)



Programmatically change text - DontCallMeLarry - 07-27-2021

Hi,

I'm trying to figure out how to programmatically change text in a layer and then save the output? 

My use case is trying to add a version number (aka limited edition) to a digital photograph. I would like to do this 100 times and have an end result of 100 images that have a minor change of 1/100, 2/100, ... 100/100. 


Thank you for the help or suggestions!


RE: Programmatically change text - Ofnuts - 07-27-2021

Better use ImageMagick in a shell script for this:

https://legacy.imagemagick.org/Usage/text/
https://legacy.imagemagick.org/Usage/annotating/


RE: Programmatically change text - PixLab - 07-28-2021

May be you have something in BIMP (it's a plug in for GIMP) BIMP stands for "Batch Manipulation Image"
https://alessandrofrancesconi.it/projects/bimp/
or
In Filters > G'MIC > Various > Custom Code[] , here you go to input some code to increment a number -> you can affect ALL layers,
if you need helps they all are on https://discuss.pixls.us/c/software/gmic/10
they all are very nice gals/guys whiling to help with code Wink


RE: Programmatically change text - DontCallMeLarry - 07-28-2021

Thank you for the great suggestions