run 2026-11-21T06:27:44Z node v24.21.0 ffmpeg version 6.1.1-3ubuntu5 == T0 inputs lighthouse.jpg 4548x2988 aspect=1.522 bytes=12315478 sha256=d98788856bbbfab3 pango.jpg 1600x514 aspect=3.113 bytes=307755 sha256=dd04cec019e96252 == T1 safe-area arithmetic (official 1235x338 at 2048x1152, scaled to 2560x1440) scale=1.25 safe=1543.75x422.5 rounded=1544x423 aspect_min=1.7778 aspect_rec=1.7778 height_scale=1.25 centered box (our assumption: YouTube does not state the position): x=508.125 y=508.75 to x=2051.875 y=931.25 safe box share of frame: width 60.3% height 29.3% area 17.7% == T2 published ffmpeg command on both inputs lighthouse: exit=0 out=2560x1440 bytes=510238 pango: exit=0 out=2560x1440 bytes=451944 lighthouse scaled to 2560 wide = 2560x1682; cropped away 242 px of height (121 top and bottom) = 14.4% of the scaled height pango scaled to 1440 high = 4482x1440; 1922 px of width cropped (961 each side); upscale factor 2.80x pango source is 1600x514: below the 2048x1152 minimum? true == T3 file size at 2560x1440 (6,000,000 bytes and 6,291,456 bytes both shown) lossless crop PNG bytes=7283266 jpeg -q:v 2 bytes=714229 under6M=true under6MiB=true ssim_vs_lossless=0.9864 jpeg -q:v 3 bytes=510752 under6M=true under6MiB=true ssim_vs_lossless=0.9826 jpeg -q:v 5 bytes=355399 under6M=true under6MiB=true ssim_vs_lossless=0.9765 jpeg -q:v 8 bytes=252707 under6M=true under6MiB=true ssim_vs_lossless=0.9679 jpeg -q:v 12 bytes=197392 under6M=true under6MiB=true ssim_vs_lossless=0.9588 jpeg -q:v 20 bytes=151610 under6M=true under6MiB=true ssim_vs_lossless=0.9446 jpeg -q:v 31 bytes=129172 under6M=true under6MiB=true ssim_vs_lossless=0.9308 png bytes=7283266 under6M=false under6MiB=false CONTROL flat black png bytes=10868 (expect tiny) noise png bytes=11080304 (expect over 6M) -> control OK control noise jpeg q3 bytes=6034661 == T4 text fit inside the safe box (one font: DejaVu Sans Bold, rendered by sharp/librsvg) CONTROL 1000 px bar measured width=1000 (expect 1000) -> control OK safe box width 1544 px at 2560 (rounded from 1543.75) text="Harbor Light Walks" chars=18 font=80px width=855px fits_box=true text="Harbor Light Walks" chars=18 font=120px width=1283px fits_box=true text="Harbor Light Walks" chars=18 font=160px width=1710px fits_box=false text="Harbor Light Walks: slow travel films" chars=37 font=80px width=1661px fits_box=false text="Harbor Light Walks: slow travel films" chars=37 font=120px width=2491px fits_box=false text="Harbor Light Walks: slow travel films" chars=37 font=160px width=3321px fits_box=false (wider than the whole 2560 frame: would be clipped) text="Weekly harbor and lighthouse photo walks, every Friday" chars=54 font=80px width=2544px fits_box=false text="Weekly harbor and lighthouse photo walks, every Friday" chars=54 font=120px width=3816px fits_box=false (wider than the whole 2560 frame: would be clipped) text="Weekly harbor and lighthouse photo walks, every Friday" chars=54 font=160px width=5089px fits_box=false (wider than the whole 2560 frame: would be clipped) largest font size (step 4) whose width fits the box: "Harbor Light Walks" -> 144px largest font size (step 4) whose width fits the box: "Harbor Light Walks: slow travel films" -> 72px largest font size (step 4) whose width fits the box: "Weekly harbor and lighthouse photo walks, every Friday" -> 48px == T5 figure: banner with the safe box drawn fig-safe-box.jpg bytes=108760 == T5b figure: text sizes against the safe box fig-text-fit.jpg bytes=121737 white line 120px width=1283 (fits 1544); red line 160px width=1710 (does not fit) == T6 live Koldflux banner resizer: /tools/image-size/youtube-banner lighthouse: tool_output name=lighthouse-2560x1440.jpg 2560x1440 format=jpeg bytes=743174 under6M=true seconds=1.2 lighthouse: framing vs published ffmpeg command output: ssim=0.9760; control (ffmpeg output vs itself) ssim=1.0000 lighthouse: at 320 px wide tool vs centre crop ssim=0.9899; CONTROL tool vs top-edge crop ssim=0.4644 (must be lower than the centre-crop score to show the check can tell framings apart) pango: tool_output name=pango-2560x1440.jpg 2560x1440 format=jpeg bytes=726312 under6M=true seconds=0.4 pango: framing vs published ffmpeg command output: ssim=0.9495; control (ffmpeg output vs itself) ssim=1.0000 pango: at 320 px wide tool vs centre crop ssim=0.9905; CONTROL tool vs top-edge crop ssim=0.0796 (must be lower than the centre-crop score to show the check can tell framings apart) DONE