Added examples for channel_offset, led_screen and pixel_smear

This commit is contained in:
Julian Müller (ChaoticByte) 2024-01-05 18:54:40 +01:00
parent 6440019de2
commit 2a15d81651
10 changed files with 58 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

13
examples/led_screen/run.py Executable file
View file

@ -0,0 +1,13 @@
#!/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")