mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-18 07:23:24 +09:00
[Docs] (P12): the on-screen server window's plan, audit, harness and device evidence move into the tree, and the status page says what this line is and what it still owes - CURRENT_STAGE_STATUS records that the P12 subset is implemented but NOT handed off (both exit gates unrun: no cross-machine TCP, no FCL + kill-server device-lost), the ROADMAP P12 row stops reading "待排", and notes/p12 carries the brief, the four read-only audits, the gate and device harness, and the curated device evidence (check transcripts, replay verdicts, on-screen captures; logcat left out per notes/README.md's evidence-data rule)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
"""thumbs.py <out.png> <png>...: a side-by-side strip of 540p-high thumbnails with labels."""
|
||||
import sys
|
||||
from PIL import Image, ImageDraw
|
||||
out, files = sys.argv[1], sys.argv[2:]
|
||||
thumbs = []
|
||||
for f in files:
|
||||
im = Image.open(f).convert("RGB")
|
||||
h = 540
|
||||
w = max(1, im.width * h // im.height)
|
||||
t = im.resize((w, h))
|
||||
ImageDraw.Draw(t).text((8, 8), f.split("/")[-1], fill=(255, 0, 255))
|
||||
thumbs.append(t)
|
||||
strip = Image.new("RGB", (sum(t.width for t in thumbs) + 8 * (len(thumbs) - 1), 540), (40, 40, 40))
|
||||
x = 0
|
||||
for t in thumbs:
|
||||
strip.paste(t, (x, 0))
|
||||
x += t.width + 8
|
||||
strip.save(out)
|
||||
print(out, strip.size)
|
||||
Reference in New Issue
Block a user