Skip to content

Lunashia/Solid_Color_PNG_Generators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solid Color PNG Generators

Originally developed for a client in June 2022.
This is a lightweight Python script for generating solid color PNG images.

The client has granted permission to release this code as open source (MIT License).

Disclaimer ⚠️⚠️⚠️:

This tool is intended strictly for educational and non-malicious purposes. It also demonstrates how high-resolution parallelized image generation can result in unexpectedly large memory footprints and stress-test local systems.

Do not use it to generate image files with the intent to disrupt, overwhelm, or impair the functionality of software, devices, or networks.

By using this tool, you accept full responsibility for any consequences resulting from its misuse.
Use with caution. Handle with care. Think before you run.

❤️ Features

  • Generate solid color PNGs with customizable width, height, num. of PNGs, and random color
  • Outputs .png images
  • Open-source and very easy to modify

😐 Memory Warning

Be careful when setting very large image dimensions (e.g. over 100,000 x 100,000).
Your system may run out of memory, freeze, or crash depending on available RAM.

Installation

Make sure you have Python 3.x installed. Install the required packages:

pip install -r requirements.txt