I just shipped four iOS apps to TestFlight. Each needs screenshots for the App Store. iPhone screenshots are 1170×2532px (or 1284×2778px for Pro). iPad screenshots are 2048×2732px. Apple requires both. But I only have iPhone screenshots, and manually scaling them up in Figma for each app is... tedious. So I wrote a script that takes iPhone screenshots, pads them to iPad dimensions, and uploads them to App Store Connect. Five lines of ImageMagick per image. Fully automated. Here's the full script. The problem App Store Connect wants: iPhone: 1170×2532 (portrait) iPad Pro: 2048×2732 (portrait) I have iPhone screenshots. Scaling them down to iPad proportions loses detail. Padding them preserves the image and fills the borders with a color. The math: iPhone: 1170w × 2532h, aspect 0.46 iPad: 2048w × 2732h, aspect 0.75 If I paste the iPhone screenshot (unscaled) into an iPad canvas and center it, I get ~439px of padding on left+right, ~100px on top+bottom.…