// AI Platform Drift

Cloudflare Images adds Gaussian sharpening mode with configurable parameters

Cloudflare developer changelog · published 2026-11-20 07:19 UTC
WORTH KNOWING VERIFY_ONLY API
WHAT CHANGEDCloudflare Images sharpen parameter now accepts a structured object with mode=gaussian alongside amount (0-10), sigma (0-5), and optional threshold (0-255) settings. Existing scalar values like sharpen=5 continue using the box filter. The structured format works in URL parameters, Workers fetch() cf.image object, and Images binding .transform() calls.
WHY IT MATTERSGaussian sharpening provides finer control over edge detection for photography and complex images, reducing unwanted sharpening of noise or grain that box filtering treats uniformly. Different content types—text, product photos, illustrations—can now use tailored sharpening configurations instead of a single intensity value.
WHAT TO DOReview images currently using scalar sharpen values. For photography or content where box sharpening over-emphasizes grain, test Gaussian mode with amount and sigma settings appropriate to the content type. Update transform calls to use the structured object format if switching modes.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Cloudflare Images - Apply Gaussian sharpening with Images
+https://developers.cloudflare.com/changelog/post/2026-11-19-configurable-sharpening/
+Thu, 19 Nov 2026 00:00:00 GMT
+
+Cloudflare Images lets developers resize, adjust, and manipulate images at scale through a broad set of optimizations, including image adjustments such as sharpen, brightness, contrast, and gamma.
+The sharpen parameter now supports Gaussian sharpening, in addition to the existing box-filter sharpening. Sharpening makes fine details appear crisper by increasing the pixel-to-pixel contrast along edges, where adjacent pixels differ in brightness or color. Scalar values such as sharpen=5 continue to use the box filter.
+Different images benefit from different types and levels of sharpening. Text may need strong edge definition for readability; product photography often uses a subtler effect to avoid emphasizing grain; and illustrations with bold, clean lines and large areas of solid color can benefit from emphasizing larger edges and object outlines.
+Both box and Gaussian sharpening use unsharp masking, a technique that first creates a blurred version of the source image and subtracts it from the original to isolate edge details. Sharpening then adds a controlled amount of that detail back to the source along these boundaries, improving the perceived clarity of an image.
+Each filter uses a different method to produce the blur used for this comparison. The existing box filter produces a uniform blur by averaging each pixel with its eight surrounding pixels, weighing all nine equally. A Gaussian filter gives more weight to pixels closer to the center and provides more control to help prevent sharpening from treating unintended parts of an image as edges.
+Box sharpening offers a simple, predictable configuration for direct, crisp effects on text, screenshots, and simple graphics. Gaussian sharpening can produce smoother transitions for photography and offers more control over which details are emphasized.
+To use Gaussian sharpening, set the mode setting to gaussian, then configure its behavior using the additional amount, sigma, and threshold settings:
+
+Amount adjusts how strongly Images increases contrast around identified edges. It accepts values from 0 to 10.
+Sigma controls the spread of the Gaussian blur, which determines how far the sharpening effect extends around an edge. It accepts values greater than 0 and up to 5.
+Threshold (optional) excludes pixel differences below a specified value, which can reduce sharpening of low-contrast noise, grain, or smooth areas. It accepts integers from 0 to 255.
+
+Together, these settings let you tailor the sharpening effect to your content.
+In the URL interface, these settings are grouped beneath the sharpen parameter:
+sharpen=(mode=gaussian,amount=1,sigma=1.5,threshold=0)
+The same structure maps directly to the cf.image object in a Workers fetch() subrequest:
+cf: {
+image: {
+sharpen: {
+mode: "gaussian",
+amount: 1,
+sigma: 1.5,
+threshold: 0,
+},
+},
+}
+When using the Images binding, pass the structured sharpen object directly to .transform():
+const result = await env.IMAGES.input(source.body)
+.transform({
+sharpen: {
+mode: "gaussian",
+amount: 2,
+sigma: 1.5,
+threshold: 0,
+},
+})
+.output({ format: "image/avif" });
+
+return result.response();
+Refer to sharpen.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningNew image processing capability with API schema changes and new parameters developers must learn to use.
signalsnew API feature added: Gaussian sharpening mode for Images · new parameters introduced: mode, amount, sigma, threshold · API schema change: sharpen parameter now accepts structured object with mode setting · breaking change potential: existing scalar sharpen=N behavior preserved but new structured format available · execution change: developers must update code to use new Gaussian mode or continue with box filter
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)