Image Resizer and Optimizer CLI
A CLI tool for batch image resizing, format conversion, and optimization with quality control and metadata stripping. Supports multiple output formats, watermarking, and parallel processing for lar...
Target user
Web developers and content creators who optimize images in bulk
Problem
Web developers need to batch resize and optimize images for web performance without using GUI tools that cannot be automated in build pipelines.
Requirements
- Batch resize images to specified dimensions
- Convert between JPEG, PNG, WebP formats
- Optimize with quality and compression settings
- Strip or preserve EXIF metadata
- Process images in parallel for speed
Core technologies
Node.js, TypeScript, sharp
Completion criteria
Users can batch resize, convert, optimize, and process images in parallel with quality control and metadata options.
Optional extensions
- Add watermark overlay
- Implement responsive image sets
- Add progress reporting
- Support animated GIFs
Project phases
Phase 1: Phase 1: Core Processing
Tasks: Set up sharp image processing, Implement single image resize, Add format conversion, Build quality optimization
Phase 2: Phase 2: Batch and Parallel
Tasks: Implement batch directory processing, Add parallel processing with worker pool, Build metadata stripping option, Add output directory structure
Phase 3: Phase 3: Advanced Features
Tasks: Add watermark overlay support, Implement responsive image set generation, Create progress reporting, Add configuration file support