Initial commit — Oak Ridge Makers Group Tronbyt app

This commit is contained in:
2026-09-06 22:11:34 -04:00
commit 2baef5d287
513 changed files with 1280 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from PIL import Image
SRC = "/home/poprhythm/Downloads/main-logo.png"
OUT = "/home/poprhythm/ormakers-tronbyt-app/images/logo.png"
img = Image.open(SRC).convert("RGBA")
w, h = img.size
size = max(w, h)
square = Image.new("RGBA", (size, size), (0, 0, 0, 0))
square.paste(img, ((size - w) // 2, (size - h) // 2))
square.resize((64, 64), Image.LANCZOS).save(OUT)
print(f"source: {w}x{h}, output: 64x64 -> {OUT}")