A Python script that allows you to automatically generate test images.
- Py Image Generator project page
- Py Image Generator online configurator
- What do you do when you need a large number of different images with various sizes? You make a Python script (blog post)
Open a terminal window and navigate to the location of the
generate.py file. Then run
By changing the values inside the
config.json file, you can specify the number of generated images as well as their size, color and "watermark". The config offers support for random sizes and colors, and also ratio preserving for the images.