ss-image-resizelisted
Resize and crop images to exact platform-specific dimensions for social media, app stores, ads, and web. Supports 60+ platform presets including OG images, YouTube thumbnails, App Store screenshots, Play Store graphics, TikTok, Pinterest, Threads, Substack, Chrome Web Store, Notion covers, Instagram, Twitter, Dribbble, Bluesky, Product Hunt, LinkedIn, Facebook, and more. Uses ImageMagick for high-quality Lanczos resampling. Works on macOS, Linux, and Windows. Use this skill whenever the user wants to resize an image for a specific platform, create social media assets, generate app store screenshots, make thumbnails, create OG images, prepare images for upload, or batch-resize to multiple sizes. Also trigger when the user mentions any platform (YouTube, TikTok, Pinterest, App Store, Play Store, Substack, Threads, Chrome Web Store, Notion, etc.) in the context of image sizing, resizing, cropping, or preparation — even if they don't explicitly say "resize".
rajnandan1/such-skills · ★ 2 · Web & Frontend · score 75
Install: claude install-skill rajnandan1/such-skills
# Image Resize — Platform-Aware Image Resizer
Resize and crop any image to exact dimensions for 60+ platform presets using ImageMagick's high-quality Lanczos resampling.
## Prerequisites
ImageMagick is required. If not installed:
```bash
brew install imagemagick # macOS
sudo apt install imagemagick # Debian/Ubuntu
```
## How to use
Run the bundled script:
```bash
bash "${CLAUDE_SKILL_DIR}/scripts/resize.sh" <input-image> [OPTIONS]
```
### Options
| Flag | Description | Default |
|------|-------------|---------|
| `--platform NAME` | Generate image for a specific platform preset | (required unless `--all`) |
| `--all` | Generate images for every preset | off |
| `--category CAT` | Generate all presets in a category (e.g. `youtube`, `appstore`) | — |
| `--output DIR` | Output directory | `./resized/` |
| `--list` | List all available platform presets and exit | — |
| `--fit` | Fit image inside target (letterbox with padding) instead of cover-crop | off (cover-crop) |
| `--pad-color HEX` | Padding color when using `--fit` (6-digit hex, no #) | `FFFFFF` |
| `--quality N` | Output quality 1-100 | `92` |
### Platform presets
The script knows these categories. For the full list of preset names and exact pixel dimensions, read `references/platforms.md`.
| Category | Presets |
|----------|---------|
| **Web / SEO** | og-image, blog-cover, notion-cover |
| **Chrome Extension** | chrome-screenshot, chrome-small-promo, chrome-marquee-promo |
| **Ads** | feed-ad, post-ad |