It is currently Fri Aug 28, 2026 4:08 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Auto-text and filename
PostPosted: Fri Sep 21, 2018 9:48 am  (#1) 
Offline
New Member

Joined: Sep 21, 2018
Posts: 1
Hi,

Newbie here.. I want to create multiple images with a default background and some specific text on it. I also need to set the specific filename based on a unique id.
Example.

"Apples" -> 1.png
"Oranges" -> 2.png
"Grapes" -> 3.png
...
...
"Kiwis" -> 126.png
...

Is there a plugin or script that allows me to do that? Also, can I set the input with a CSV, JSON, or something similar?
Thank you in advance.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Auto-text and filename
PostPosted: Fri Sep 21, 2018 1:17 pm  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2613
I would say Gimp is the wrong tool.

Imagemagick will overlay text from a text file, something like this for a single image

magick convert back.png -gravity South -font Deutsch.ttf -pointsize 20 -annotate +0+5 @gc.txt 1.jpg


Image

Best place to ask the question is https://www.imagemagick.org/discourse-server/ in the user section


Top
 Post subject: Re: Auto-text and filename
PostPosted: Fri Sep 21, 2018 10:05 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1467
Hi germallon
Cut-out your fruit images and add an 'alpha channel' or a transparent background so you can use a common background.
Then 'Open as layers' for each fruit.
All layers should be the same size.
So now they are layers with the transparent hatching behind each fruit.
Then put your background at the bottom. (open as layer)
You will have to move it below the bottom layer of the stack.
Then Filters > Animation > combine background.
Finally,
File > 'Export Layers' and use PNG which will give each layer a different file name.
Rename as necessary.

Image


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group