From Dev.to
Converting 16:9 video to 9:16: the math behind crop, letterbox and blur-fill
Every horizontal video eventually has to become a vertical one. YouTube wants 16:9; Shorts, Reels and TikTok want 9:16. There are only three honest ways to make that conversion, and each one is a few...
