I am wondering if it is possible to add text to a single image that reads "Gameplay - Part 01" and generate a duplicate image with the text "Gameplay - Part 02," and so on, using an automatic process to ensure consistent text placement.
08-03-2023, 08:18 AM (This post was last modified: 08-03-2023, 08:18 AM by Adore33.)
(08-02-2023, 10:42 PM)Adore33 Wrote: I am wondering if it is possible to add text to a single image that reads "Gameplay - Part 01" and generate a duplicate image with the text "Gameplay - Part 02," and so on, using an automatic process to ensure consistent text placement.
Caveates: You need a matching font and put it in the same folder as the base image
For a sequence of numbers then a batch file and a loop is required. If you do a search you will find examples. Often used for lottery tickets etc. I use linux and very rusty with Windows but see https://superuser.com/questions/908476/c...magemagick Scroll down to the end for a Windows example.
(08-03-2023, 08:23 AM)rich2005 Wrote: Vague memory of a Gimp plugin that pastes the layer name into the layer - but I can not find it, so it might not exist.
Caveates: You need a matching font and put it in the same folder as the base image
For a sequence of numbers then a batch file and a loop is required. If you do a search you will find examples. Often used for lottery tickets etc. I use linux and very rusty with Windows but see https://superuser.com/questions/908476/c...magemagick Scroll down to the end for a Windows example.
edit: just out of interest, how many of these do you need ?
Thank you for the information I will look into that as well.
It's ok I don't need you to make me any images, but I appreciate it.
I was just using that for a visual example.
(08-02-2023, 10:42 PM)Adore33 Wrote: I am wondering if it is possible to add text to a single image that reads "Gameplay - Part 01" and generate a duplicate image with the text "Gameplay - Part 02," and so on, using an automatic process to ensure consistent text placement.
You can create an image with all your "labels" as text layers i a group, and then use my ofn-export-layer-combinations to export images that are made of one of the text layers from the group and the background image.
08-03-2023, 10:52 AM (This post was last modified: 08-03-2023, 12:02 PM by rich2005.)
(08-03-2023, 09:03 AM)Adore33 Wrote: Thank you for the information I will look into that as well.
It's ok I don't need you to make me any images, but I appreciate it.
I was just using that for a visual example.
Just to show that it can work but how you proceed depends on how many. 10 images - one at a time 1000 images - make a batch file.
Edit: Ok, a hunt through my archive.
1. A plugin Text add-number-layers.py Adds layers to a base image, each layer with a sequential number.
Goes in your plugins folder C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plugins
2. A script-fu export-layers-plus.scm that exports the layers to individual files.
Goes in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\scripts
08-03-2023, 09:15 PM (This post was last modified: 08-03-2023, 09:16 PM by Adore33.)
(08-03-2023, 09:48 AM)Ofnuts Wrote:
(08-02-2023, 10:42 PM)Adore33 Wrote: I am wondering if it is possible to add text to a single image that reads "Gameplay - Part 01" and generate a duplicate image with the text "Gameplay - Part 02," and so on, using an automatic process to ensure consistent text placement.
You can create an image with all your "labels" as text layers i a group, and then use my ofn-export-layer-combinations to export images that are made of one of the text layers from the group and the background image.
Thank you.
(08-03-2023, 10:52 AM)rich2005 Wrote:
(08-03-2023, 09:03 AM)Adore33 Wrote: Thank you for the information I will look into that as well.
It's ok I don't need you to make me any images, but I appreciate it.
I was just using that for a visual example.
Just to show that it can work but how you proceed depends on how many. 10 images - one at a time 1000 images - make a batch file.
Edit: Ok, a hunt through my archive.
1. A plugin Text add-number-layers.py Adds layers to a base image, each layer with a sequential number.
Goes in your plugins folder C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plugins
2. A script-fu export-layers-plus.scm that exports the layers to individual files.
Goes in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\scripts