This repository has been archived on 2025-09-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
glitch/examples/led_screen/run.py

14 lines
261 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
from sys import path
path.append("../../")
from PIL import Image
from glitch import led_screen
if __name__ == "__main__":
img: Image.Image = Image.open("original.png").convert("RGB")
led_screen(img)
img.save("result.png")