Tudo: Primeiro commit

This commit is contained in:
mguinhos committed 2026-09-30 21:10:51 -03:00
commit 06a90928dc
4633 files changed
+6327263

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
"""Compõe render RGBA (com sombra do shadow catcher) sobre a foto de fundo."""
import sys
from PIL import Image
fg, bgp, out = sys.argv[1:4]
f = Image.open(fg).convert("RGBA")
b = Image.open(bgp).convert("RGBA").resize(f.size, Image.LANCZOS)
Image.alpha_composite(b, f).convert("RGB").save(out, quality=95)