Resumed to project. INIT

This commit is contained in:
2026-06-17 08:23:13 +02:00
commit fd02ed6d8b
51 changed files with 5067 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
with open("rgb332.gpl", "w") as f:
f.write("GIMP Palette\nName: RGB332\nColumns: 16\n#\n")
for i in range(256):
r = ((i >> 5) * 255) // 7
g = (((i >> 2) & 0x7) * 255) // 7
b = ((i & 0x3) * 255) // 3
f.write(f"{r:3d} {g:3d} {b:3d} Index {i}\n")