This commit is contained in:
Sven Koehler
2022-11-17 23:01:00 +01:00
parent 2477642e20
commit ec4a87d98f
17 changed files with 876 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
from PIL import Image
import sys
im = Image.open(sys.argv[1])
width, height = im.size
pixels = im.load()
for y in range(height):
for x in range(width):
p = pixels[x,y]
if len(p) != 4:
p = p + (255, )
r, g, b, a = p
if r != 0:
pixels[x,y] = 255, 255, 255, 0
im.save(sys.argv[1])
+857
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 924 KiB