"""The bench frames, per augaman-dev's recipe (2026-09-27). Run in a directory holding obama_2012.jpg and obama_biden_2015.jpg from pfi/augaman tests/fixtures/faces/ (public domain). uv run --with pillow python make_frames.py """ from PIL import Image o = Image.open("obama_2012.jpg").convert("RGB") h = 700 o = o.resize((round(o.width * h / o.height), h), Image.LANCZOS) a = Image.new("RGB", (1920, 1080), (90, 90, 90)) a.paste(o, (700, 190)) a.save("frame_a_1080p_oneface.jpg", quality=90) # (a) one face Image.new("RGB", (1920, 1080), (90, 90, 90)).save("frame_c_1080p_noface.jpg", quality=90) # (c) control # (b) is obama_biden_2015.jpg as-is: 960x1001, two faces