<image-editor>
A web component for cropping, rotating, filtering, resizing, and exporting images
Features
Crop & Resize
Drag handles to crop with aspect ratio presets. Resize to exact dimensions with aspect lock.
Rotate & Flip
Rotate 90° in either direction. Flip horizontally or vertically.
Filters
Adjust brightness, contrast, saturation, blur, grayscale, and sepia with live preview.
Undo / Redo
Full history stack with configurable depth. Never lose your work.
Multi-Format Export
Export as PNG, JPEG, or WebP with quality control. Download or get as Blob/Data URL.
Zoom & Pan
Scroll to zoom, drag to pan. Fit-to-view and zoom-to-level controls.
Fully Themeable
35+ CSS custom properties for complete visual customization. Light and dark mode support.
Format Converter
Companion <image-convert> component for drag-and-drop format conversion with EXIF stripping.
Quick Start
Installation
Install via npm:
Or include via CDN:
Basic Usage
With a Pre-loaded Image
Dark Mode with JPEG Export
Related Components
Part of the ProfPowell vanilla web components suite: