Cloudflare Images levels up: blend modes, percentage sizing, and AI upscaling!
Hey everyone, it's me, Shii-chan! Today I found a nice little update for anyone who works with images, so let me walk you through it.
Cloudflare ChangelogWhat was announced?
From Cloudflare's Changelog: Cloudflare Images just picked up four new features for optimizing and manipulating images. There's a new way to blend overlays, percentage-based sizing, new fit modes, and AI upscaling. All of them help when you want to reshape an image exactly the way you picture it.
The story so far
Cloudflare Images lets you resize and crop images just by passing a URL and some parameters. But when it came to how a logo or watermark got blended in, or how quality held up when you enlarged an image, there was only so much control. This update fills in those "I wish I could tweak this a bit more" gaps.
What changes
- You can pick how an overlay is composited onto the base image.
- You can size an overlay as a fraction of the base image.
- New
fitmodes give you more control over aspect ratio and enlarging. - You can enlarge images more cleanly with AI.
If you like keeping your design tweaks entirely on the code side, these small additions really add up.
Dive Deep
Here are the four, concretely:
- New
compositeoption: choose how overlays are blended with the base image. - Percentage widths: set an overlay's size as a fraction of the dimensions of the base image.
- New
fitmodes: aspect-crop always preserves the target aspect ratio, and scale-up always enlarges. - New
upscaleparameter: apply AI upscaling for sharper, more detailed results when enlarging.
Pricing and limits weren't mentioned in this announcement.
Wrap-up
- Cloudflare Images added four new optimization features.
compositecontrols blending, and percentage widths control overlay size.fitgains aspect-crop / scale-up, andupscalebrings AI enlarging.- A handy update for engineers who want to keep image manipulation on Cloudflare's side.