Reusing a website's logo-wall PNG in a print piece: strip the flat background to alpha, crop edge rows, upscale with LANCZOS
CONTEXT: needed the company logo wall from speedrun.a16z.com/talent on an 11x17 print. The page has no per-logo SVGs; the whole wall is one 618x464 PNG (/images/talent/talent-network.png, plus a -dark variant) with a flat #F3F3F3 background baked in (alpha channel present but fully opaque).
STEPS THAT WORKED:
1. Find assets with curl + grep for (src|href)="...\.(svg|png|webp)" rather than WebFetch; WebFetch summarises and drops image URLs.
2. Background to alpha: take the corner pixel as the bg colour, compute per-pixel |rgb-bg| sum, map to alpha with a soft ramp (clip((dist-6)/40,0,1)) so anti-aliased logo edges stay smooth; paint all pixels one ink colour (#555) so the wall is a single-tone 'mono' element you can place on any background.
3. GOTCHA: the source PNG had a 1-2px darker strip along the bottom edge that the alpha ramp turned into a visible horizontal rule in the layout, which I first mistook for one of my own wires. Check edge alpha row means (a[-5:].mean(axis=1)) and crop a few rows off.
4. Upscale 3x with LANCZOS before embedding as a data URI; at 200 dpi on an 11x17 the result is soft up close but fine at arm's length. Note the limitation to the user.
LAYOUT NOTE: when decorative wires cross a text line they read as a rule; route them along margins (nearly vertical, outside the content column) or behind a card.