Koldflux test log: podcast cover art pre-upload check, run 2026-11-23 Rules checked (official pages read 2026-11-23): square; 1400 to 3000 px (Apple RSS range); PNG or JPEG; no alpha (Apple). Test files: 13 covers built by mkcases.py and portrait.py (Pillow 10.1.0); the cover art is a made-up show, Night Shift Radio. CONTROL: 01-ok-3000.png read 3000x3000 in Inspect and in check-cover.py, exit 0, no FAIL or WARN. Alpha detected in 07 (RGBA), none in 01 (RGB). Every failing file failed the one rule it was built to fail and no other: 01-ok-3000.png | exit=0 | Inspect: 3000×3000 (1:1), image/png, 85,414 bytes | all rules pass 02-ok-1400.jpg | exit=0 | Inspect: 1400×1400 (1:1), image/jpeg, 86,823 bytes | all rules pass 03-small-1399.jpg | exit=1 | Inspect: 1399×1399 (1:1), image/jpeg, 87,161 bytes | FAIL | 1400 to 3000 px (Apple, RSS feed) | 1399 x 1399 04-large-3001.png | exit=1 | Inspect: 3001×3001 (1:1), image/png, 173,972 bytes | FAIL | 1400 to 3000 px (Apple, RSS feed) | 3001 x 3001 05-nonsquare-3000x2800.png | exit=1 | Inspect: 3000×2800 (15:14), image/png, 138,333 bytes | FAIL | square (Apple and Spotify) | 3000 x 2800 06-cmyk-3000.jpg | exit=0 | Inspect: 3000×3000 (1:1), image/jpeg, 680,604 bytes | WARN | color mode (not stated in the official pages read) | mode CMYK; export as RGB to be safe 07-alpha-corners-3000.png | exit=1 | Inspect: 3000×3000 (1:1), image/png, 110,682 bytes | FAIL | no alpha channel (Apple) | mode RGBA 07b-alpha-opaque-3000.png | exit=1 | Inspect: 3000×3000 (1:1), image/png, 98,664 bytes | FAIL | no alpha channel (Apple) | mode RGBA 08-webp-3000.webp | exit=1 | Inspect: 3000×3000 (1:1), image/webp, 58,442 bytes | FAIL | PNG or JPEG (Apple, Spotify) | WEBP 09-png-renamed-3000.jpg | exit=0 | Inspect: 3000×3000 (1:1), image/jpeg, 85,414 bytes | WARN | file name matches content | name says .jpg, content is PNG 10-heavy-3000.jpg | exit=0 | Inspect: 3000×3000 (1:1), image/jpeg, 12,045,502 bytes | all rules pass 11-ok-3000.jpg | exit=0 | Inspect: 3000×3000 (1:1), image/jpeg, 261,650 bytes | all rules pass 12-portrait-2000x3000.png | exit=1 | Inspect: 2000×3000 (2:3), image/png, 90,520 bytes | FAIL | square (Apple and Spotify) | 2000 x 3000 nofile.png | exit=2 | Inspect: not run | file not found, checker stops with exit 2 (the edge case) Fix commands (commands.log): every fixed file re-read by check-cover.py, exit 0, no FAIL or WARN: crop and pad of 3000x2800 and 2000x3000 -> 3000x3000; alpha flatten (fill 0x141438; corner pixel (19,19,56) in the output, fill is (20,20,56), not black); CMYK -> RGB JPEG (moon pixel (248,213,109) against (250,214,110) from Pillow's own conversion: no inverted colours); WebP -> PNG; renamed PNG -> true JPEG; 3001 -> 3000; 1399 -> 3000 (enlarged only). Inspect cannot see alpha or colour mode, and its MIME follows the file name: 09 (a PNG named .jpg) reads image/jpeg. ffprobe pix_fmt: CMYK JPEG reads gbrap and the alpha PNG reads rgba, so ffprobe alone cannot tell them apart reliably. Not tested: what Apple Podcasts or Spotify do with any file on upload (no account); the file size limit (no official figure found).