Home
cd ../playbooks
ProductivityBeginner

Image Enhancement & Upscaler

Improve screenshot quality, upscale low-resolution images, and batch process images using ImageMagick and modern tools.

5 minutes
By communitySource
#images#upscaling#enhancement#screenshots#batch-processing

Your product screenshots look blurry on the retina display, the logo from the client is 200x200 pixels, and you need 50 images resized for social media by tomorrow. Opening Photoshop for each one is not a plan.

Who it's for: marketers needing high-quality images from low-resolution sources, developers improving screenshot quality for documentation, e-commerce sellers enhancing product photos, content creators batch-processing images for multiple platforms, anyone with blurry images that need to look professional

Example

"Upscale and enhance these 30 product screenshots for our website" → Batch-processed images: resolution doubled, sharpness enhanced, compression artifacts removed, and resized to 3 variants (web, social, thumbnail) — all via ImageMagick commands you can rerun anytime

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add image-enhancement-upscaler
# Image Enhancement & Upscaler

## Your Role
You help improve image quality, upscale low-resolution images, enhance screenshots, and batch process images. You generate ImageMagick commands and recommend appropriate tools based on the use case.

## Capabilities

### Enhancement
- Sharpening and clarity
- Contrast and levels adjustment
- Noise reduction
- Color correction

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Improve image quality, upscale low-resolution images, enhance screenshots, and batch process images. Claude generates ImageMagick commands and recommends AI upscaling tools when appropriate.


Quick Start

Step 1: Install ImageMagick

# macOS
brew install imagemagick

# Ubuntu/Debian
sudo apt install imagemagick

# Windows (with Chocolatey)
choco install imagemagick

Step 2: Create an Images Folder

mkdir -p ~/Documents/Image-Processing

Step 3: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Documents/Image-Processing/

Step 4: Run Claude Code

cd ~/Documents/Image-Processing
claude

Say: "Help me improve these images"


Common Tasks

Basic Enhancement

Task What It Does
Sharpen Increase edge definition
Denoise Reduce grain/artifacts
Contrast Improve tonal range
Brightness Adjust light levels
Resize Change dimensions

Upscaling Methods

Method Best For Quality
Lanczos General purpose Good
Mitchell Smooth images Good
AI Upscaling Photos, art Excellent

Example Commands

Basic Improvements

# Sharpen an image
convert input.jpg -sharpen 0x1.0 output.jpg

# Enhance contrast
convert input.jpg -contrast-stretch 2%x1% output.jpg

# Auto-enhance (levels + contrast)
convert input.jpg -auto-level -normalize output.jpg

# Reduce noise
convert input.jpg -enhance -enhance output.jpg

Upscaling

# 2x upscale with Lanczos
convert input.jpg -filter Lanczos -resize 200% output.jpg

# Upscale to specific dimensions
convert input.jpg -filter Lanczos -resize 1920x1080^ output.jpg

# Upscale maintaining aspect ratio
convert input.jpg -filter Lanczos -resize 1920x1080 output.jpg

Screenshot Enhancement

# Sharpen screenshot for clarity
convert screenshot.png -sharpen 0x0.5 -quality 95 enhanced.png

# Remove compression artifacts
convert screenshot.jpg -enhance -quality 95 cleaned.png

# Increase DPI for printing
convert screenshot.png -density 300 -units PixelsPerInch print-ready.png

Batch Processing

# Enhance all JPGs in folder
for f in *.jpg; do
  convert "$f" -auto-level -sharpen 0x0.5 "enhanced_$f"
done

# Resize all images to 50%
mogrify -resize 50% *.jpg

# Convert PNG to JPG with quality
mogrify -format jpg -quality 90 *.png

Quality Settings

JPEG Quality

Quality File Size Use Case
95-100 Large Archival
85-94 Medium Web high-quality
70-84 Small Web standard
< 70 Tiny Thumbnails

PNG Optimization

# Optimize PNG without quality loss
convert input.png -strip -quality 95 output.png

# Reduce colors for smaller size
convert input.png -colors 256 output.png

AI Upscaling Tools

For best quality upscaling, consider:

Tool Platform Best For
Real-ESRGAN CLI Photos, general
Waifu2x CLI/Web Anime, illustrations
Topaz Gigapixel Desktop Professional
Upscayl Desktop Free, user-friendly

Tips

  • Start with source quality: Enhancement can't create detail that doesn't exist
  • Preserve originals: Keep untouched copies
  • Match the use case: Web needs smaller files, print needs higher DPI
  • Don't over-sharpen: Halos around edges = too much
  • Use PNG for screenshots: Better quality than JPG for text/UI

Commands

"Sharpen this image"
"Upscale to 2x resolution"
"Enhance this screenshot"
"Convert to print quality (300 DPI)"
"Batch resize all images to 1080p"
"Remove noise from this photo"
"Optimize images for web"
"What's the best way to upscale [image]?"

Troubleshooting

Image looks worse after enhancement Try lighter settings: "Use subtle sharpening"

File size too large Reduce quality: "Optimize for web while keeping decent quality"

Upscaled image looks blurry Try AI upscaling: "This needs AI upscaling for better results"

$Related Playbooks

Productivity

Learn

Save a marketing learning or insight.

15 minutes
Intermediate
Productivity

Loop Detect

Identify and model growth loops.

15 minutes
Intermediate
Productivity

Meeting Minutes Taker

Transform raw meeting transcripts into high-fidelity, structured minutes — merge multiple versions without losing content, review for missing items, and identify anonymous speakers.

10 minutes
Intermediate
Productivity

Morning Brief Analyst

Turn Claude into your personal morning analyst — delivers a structured daily brief covering industry news, priority tasks, calendar context, and urgent inbox items in under 400 words.

5 minutes
Beginner
Productivity

Minimalist Decision Review

Run any business decision through eight minimalist-entrepreneur principles to get a clear do-it / don't-do-it / simplify-it verdict with the biggest risk flagged.

3 minutes
Beginner
Productivity

Marketing Automation

Design marketing automation workflows.

15 minutes
Intermediate
Productivity

Martech Audit

Audit the martech stack.

15 minutes
Intermediate
Productivity

Meeting Intelligence System

Process raw meeting notes into clear decisions, action items with owners, and follow-up emails so accountability doesn't evaporate.

5 minutes
Beginner
Productivity

Non-Technical Claude Code Onboarding

A four-step setup guide and decision framework for non-technical professionals moving from the Claude web app to Claude Code — with real workflow examples from expense reports to marketing content generation.

15 minutes
Beginner
Productivity

Notion Automation

Notion database automation - sync, templates, workflows, and cross-platform integrations

10 minutes
Advanced
Productivity

PDF Creator

Convert markdown to professional PDFs with proper Chinese font support, a theme system, and mandatory visual self-check — handling CJK typography and Chrome header/footer suppression that manual pandoc misses.

10 minutes
Beginner
Productivity

PDF to Readable HTML

Convert a PDF into one self-contained, readable HTML file that preserves images, tables, charts, and reading order — optionally translating it while keeping every figure intact.

10 minutes
Intermediate

Browse all Productivity playbooks →