Resize, crop, convert, filter, and enhance images with URL parameters or our API.
Scale images to any dimension with multiple fit modes: cover, contain, fill, inside, outside.
grainlux.com/img.jpg?w=800&h=600&fit=cover
Crop images with pixel coordinates, percentages, or smart crop using face/object detection.
grainlux.com/img.jpg?crop=smart&ar=16:9
Convert between JPEG, PNG, WebP, AVIF, GIF, TIFF, HEIC, and more. Auto-detect best format.
grainlux.com/img.jpg?format=webp&quality=85
Apply blur, sharpen, grayscale, sepia, brightness, contrast, saturation, and custom filters.
grainlux.com/img.jpg?blur=5&brightness=1.1
Add text or image watermarks with configurable position, opacity, and size.
grainlux.com/img.jpg?watermark=logo.png&pos=se
Remove backgrounds with AI, replace with solid colors, gradients, or other images.
grainlux.com/img.jpg?bg-remove=true&bg=#ffffff
Generate srcset-ready image variants with automatic breakpoint detection.
grainlux.com/img.jpg?responsive=true&sizes=320,640,1024
Rotate by any angle, flip horizontally or vertically, auto-orient from EXIF data.
grainlux.com/img.jpg?rotate=90&flip=h
Chain multiple transformations together for complex image workflows.
Combine multiple operations in a single request. Transformations are applied in order, giving you full control over the output.
// Chain multiple transforms
const result = grainlux.transform('photo.jpg')
.resize(1200, 800)
.crop('smart')
.format('webp')
.quality(85)
.sharpen(0.5)
.watermark('logo.png')
.deliver();
Experiment with all transformations in our interactive playground.
Open Playground