
appstore-screenshot-resizer
FeaturedResize images to Apple App Store screenshot dimensions for iPhone 6.3", 6.5", and 6.9" displays. Use when the user wants to prepare screenshots for iOS app submission, convert images to App Store sizes, or resize images for iPhone display dimensions.
by agentsdance|Open Source
App Store Screenshot Resizer
Resize images to Apple App Store required dimensions for iPhone displays.
Supported Sizes
| Display | Portrait | Landscape |
|---|---|---|
| 6.9" (iPhone 16 Pro Max) | 1320 × 2868 | 2868 × 1320 |
| 6.5" (iPhone 11 Pro Max, etc.) | 1242 × 2688 | 2688 × 1242 |
| 6.3" (iPhone 16 Pro) | 1206 × 2622 | 2622 × 1206 |
Usage
python3 scripts/resize.py <input_image> [options]
Options
| Option | Description |
|---|---|
-d, --display | Target size: 6.9, 6.5, or 6.3 (default: 6.9) |
-l, --landscape | Output in landscape orientation |
-a, --auto-orientation | Auto-detect orientation from source |
-b, --background | Padding color (default: white) |
--all | Generate all three display sizes |
-o, --output | Custom output path |
Examples
# Single size (6.9" portrait)
python3 scripts/resize.py screenshot.png
# All sizes, auto-detect orientation
python3 scripts/resize.py screenshot.png --all --auto-orientation
# Landscape with black background
python3 scripts/resize.py screenshot.png -d 6.5 -l -b black
# Custom output path
python3 scripts/resize.py screenshot.png -o appstore_ready.png
Behavior
- Images are resized to fit within target dimensions while preserving aspect ratio
- Padding is added (centered) when aspect ratios don't match
- Output format is PNG by default; use
.jpgextension for JPEG - Requires Pillow:
pip install Pillow --break-system-packages