Mirror of github.com/ewanc26/text-to-pixel-image
Find a file
2026-07-16 18:22:46 +01:00
json updated default colours 2024-08-17 04:58:47 +01:00
.gitattributes Initial commit 2023-02-26 23:00:51 +00:00
.gitignore update 2024-08-17 04:47:26 +01:00
AGENTS.md docs: correct agent guidance after source audit 2026-07-16 18:22:46 +01:00
colour generator.py redesign 2024-04-07 01:22:54 +01:00
LICENCE added via upload 2023-02-26 23:02:03 +00:00
main.py import the colour generation 2024-08-17 04:46:47 +01:00
README.md rewrite readme to be more direct 2026-06-29 22:13:42 +01:00

text-to-pixel-image

No Maintenance Intended

Turns text into a grid of coloured squares. Each character gets a random RGB colour.

Requirements

  • Python 3.x
  • Pillow (pip install Pillow)

Usage

  1. Make sure sorted_chars.json is in the same directory as the script. Run colour generator.py to generate a new colour set if needed.
  2. python main.py
  3. Enter the width and height (in pixels) for the output image
  4. Enter the string to convert
  5. Result is saved as output.png in the current directory

Licence

MIT