[object Object]

← back to Wallco Ai

room mockups: tune template to full-width-credenza + quad bottom=742

8c09397d3155cf5c517c4a6bd0912161fe68a638 · 2026-05-30 12:44:11 -0700 · Steve Abrams

Pilot of 50 with frame-qa: 48/50 full-wall PASS (the 2 'framed' are scenic
designs whose own tiled repeat reads as panels — a pattern property, not the
composite). Full-width credenza gives a clean wall-bottom line so the pattern
meets the furniture with no bare-wall strip. Template ships via rsync (data/).

Files touched

Diff

commit 8c09397d3155cf5c517c4a6bd0912161fe68a638
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sat May 30 12:44:11 2026 -0700

    room mockups: tune template to full-width-credenza + quad bottom=742
    
    Pilot of 50 with frame-qa: 48/50 full-wall PASS (the 2 'framed' are scenic
    designs whose own tiled repeat reads as panels — a pattern property, not the
    composite). Full-width credenza gives a clean wall-bottom line so the pattern
    meets the furniture with no bare-wall strip. Template ships via rsync (data/).
---
 scripts/pil-room-composite.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/pil-room-composite.py b/scripts/pil-room-composite.py
index 6273b34..c2c43db 100644
--- a/scripts/pil-room-composite.py
+++ b/scripts/pil-room-composite.py
@@ -25,6 +25,8 @@ ROOT = Path(__file__).resolve().parents[1]
 ROOMS_DIR = ROOT / 'data' / 'rooms'
 DESIGNS_JSON = ROOT / 'data' / 'designs.json'
 
+from PIL import ImageFile as _ImageFile
+_ImageFile.LOAD_TRUNCATED_IMAGES = True   # tolerate slightly-truncated PNGs (don't crash the batch)
 BASE_TEMPLATE = ROOMS_DIR / '_template_blank_living_room.png'   # clean full-wall blank room
 # WALL_QUAD (2026-05-30 fix): the OLD template + quad pasted the pattern into a
 # small centered rectangle surrounded by bare stone wall — i.e. the "framed
@@ -35,7 +37,7 @@ BASE_TEMPLATE = ROOMS_DIR / '_template_blank_living_room.png'   # clean full-wal
 # wall surface itself (no border, no bare-wall margin). Validated with
 # scripts/frame-qa.mjs (room-setting-app) — full-wall PASS, never framed.
 # Order: TL, TR, BR, BL in pixel coords on 1024x1024.
-WALL_QUAD = [(-15, 36), (1039, 36), (1039, 700), (-15, 700)]
+WALL_QUAD = [(-15, 28), (1039, 28), (1039, 742), (-15, 742)]
 # Optional: a brightness multiplier to make the pasted pattern feel like wall
 # light (the upstream renderer adds soft shadows + lighting falloff; we just
 # darken slightly so it doesn't look pasted).

← fff1c63 room mockups: fix framed-panel defect — clean full-wall temp  ·  back to Wallco Ai  ·  Fix deploy-kamatera.sh: data/elements exclude matches symlin 0ae7644 →