The script can be used to combine all images in the sub-folders of the in/
folder directory.
The sub-folder names are used in the text file called READ_ME_FIRST.txt
. This file is automatically created when you successfully run the script.
- All images have to be the same width and height. For example each image has to be
1920x1080
. Just make the background of the image transparent. - I've only tested the
.PNG
file format. Please use other file formats with caution. - Currently, tested with
Python 3.8.10
. You might be able to use another version of python 3 but I haven't tested any others yet.
- Install
Python 3.8.10
- Open up
cmd.exe
orpowershell.exe
- Type
python main.py
(It's possible that instead ofpython
you might need to usepython3
or evenpython38
. This will depend on your PC.) - You will be prompted if you want to re-order the images. You need to type
Y
orN
to proceed.- if you type
Y
. Then you'll want to type the number to the left of the sub-folder and pressenter
. Do this until no more options remain. - if you type
N
. Then the program will continue with the default settings.
- if you type
- You should see a folder named
out/
. In that folder you'll find a file namedREAD_ME_FIRST.txt
. That file shows how the filename of each image is formatted/built.
The script is dynamic. You can add more sub-folders in the in/
directory. You can also add more files in each sub-folder.
in/
caps/
blue.png
violet.png
panels/
dark.png
light.png
wood/
light-blue.png
light-blue-scribble.png
orange.png
in/
a
one.png
two.png
b
three.png
c
four.png
five.png
six.png
seven.png
d
eight.png
nine.png
in/
one.png
two.png
three.png