DEV Community

Discussion on: NFT images generator using Python Jupyter Notebook

victorquanlam profile image
Victor Quan Lam Author

You can use the filename reader to solve this issue. You can use it to read and the folder names and figure out the layers you want to draw onto your image.

for file in os.listdir('.'):
    #draw layer using fileName eg: circle, rectangles, etc....
Enter fullscreen mode Exit fullscreen mode

Anyway, this is only a basic program which introduces people to images generator and Python. And yet you will have to manually add the layer names and bit of code for combination. For something a bit more advanced where all the layers get included themselves please check another blog of mine out.