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
.PNGfile 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.exeorpowershell.exe - Type
python main.py(It's possible that instead ofpythonyou might need to usepython3or evenpython38. This will depend on your PC.) - You will be prompted if you want to re-order the images. You need to type
YorNto 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.pngviolet.png
panels/dark.pnglight.png
wood/light-blue.pnglight-blue-scribble.pngorange.png
in/aone.pngtwo.png
bthree.png
cfour.pngfive.pngsix.pngseven.png
deight.pngnine.png
in/one.pngtwo.pngthree.png