Skip to main content

Image adjustments

Change how an image looks without changing its dimensions, using the Media Delivery API. These parameters cover colour space, sharpening, blur, noise reduction, gamma, background fill behind transparency, and the hue, saturation, and brightness controls.

Base URL pattern

The parameters on this page are appended to a Dynamic Media image URL. For the URL pattern and how parameters chain together, see the Media Delivery API guide.

cs — Color space
Link copied!

Changes the colour space of the image.

ValueDescription
rgbRGB
rgbaRGBA
srgbsRGB
grayGreyscale
cmykCMYK
ohtaOHTA
labLAB
xyzXYZ
hsbHue, saturation, brightness
hslHue, saturation, lightness
https://cdn.media.amplience.net/i/ampproduct/woman-checked-skirt-striped-bag?cs=rgb
Try it...

unsharp — Sharpen
Link copied!

Sharpens the image by applying an unsharp mask, a standard image-processing technique that increases edge contrast.

Format: unsharp={radius},{sigma},{amount},{threshold}

ComponentRangeDescription
radius0–5Gaussian filter radius. 0 lets the system choose.
sigma0.01–5Gaussian standard deviation
amount1–300Percentage difference. Values above 100% are valid.
threshold0–255Brightness threshold for sharpening
https://cdn.media.amplience.net/i/ampproduct/casual-curly-curly-hair-794064?w=500&unsharp=2,1,160,0
Try it...
2
1
160
0
Tip

Set amount to 1 to see the image with virtually no sharpening applied, then raise it again to compare.

cm — Composite mode
Link copied!

Defines the composite operator when an image is applied on top of a background colour. This controls how the two are blended where they overlap - over, the default, simply places the image on top.

Supported values: over (default), colo, dark, diff, light, multi, cout, cover, copy (see cm=copy)

https://cdn.media.amplience.net/i/ampproduct/brown-shoe-image?cm=over&bg=rgba(0,102,204,0.5)
Try it...

cm=copy — Remove alpha channel
Link copied!

Removes the alpha channel from an image, leaving the colour data that was masked by the alpha channel visible.

Info

This feature must be provisioned on your account. To use cm=copy, contact your Customer Success Manager or Amplience Support.

Example:

https://cdn.media.amplience.net/i/ampproduct/brown-shoe-image?cm=copy

bg - Background colour
Link copied!

Sets the canvas background colour. Takes effect when the image is padded (upscale=padd) or the source image is transparent.

This example uses a transparent source image, so the colour fills behind the alpha channel. For the padded-canvas case, see upscale=padd.

https://cdn.media.amplience.net/i/ampproduct/brown-shoe-image?bg=rgb(226,216,202)
Try it...
Tip

The parameters here set the background colour at delivery time and never alter the master asset. To change the background of the asset itself as part of an automated workflow, use the Fill background, Normalize background and Remove background actions in Workforce flows.

blur - Gaussian blur
Link copied!

Applies a Gaussian blur to the image. This softens detail evenly across the image, in the same way as the blur tool in a photo editor - the higher the sigma, the stronger the effect.

Format: blur={radius},{sigma}

ComponentRangeDescription
radius0–100Accuracy of the blur. Generally 2–3× sigma.
sigma0–100Strength of the blur
https://cdn.media.amplience.net/i/ampproduct/brown-shoe-image?blur=30,60
Try it...
30
60

noiser - Noise reduction
Link copied!

Removes noise from the image. Value is between 0 and 5. Higher values remove more noise but also smooth away more fine detail - noise reduction is always a trade-off between grain and sharpness, so use the lowest value that cleans up the visible noise.

This example uses a deliberately grainy source image, rendered at 500px so the grain stays visible in the preview. Drag to 0 to see the untouched grain, and above 3 to see the detail cost of heavy noise reduction:

https://cdn.media.amplience.net/i/ampproduct/two-friends-on-deck-grainy?w=500&noiser=2
Try it...
2

gamma - Gamma correction
Link copied!

Adjusts the gamma of the image. Values below 1.0 darken the image; values above 1.0 lighten it.

https://cdn.media.amplience.net/i/ampproduct/two-friends-on-deck?gamma=0.5
Try it...
0.5

hue, sat, bri - Hue, saturation, brightness
Link copied!

Adjusts the colour properties of the image. Each parameter can be specified independently. Values range from -100 to 100.

ParameterDescription
hueShifts the colour based on the hue scale
satAdjusts the amount of grey (colour saturation)
briAdjusts the brightness
https://cdn.media.amplience.net/i/ampproduct/girlwithballoons?w=800&hue=25&sat=20&bri=10
Try it...
25
20
10
Tip

Adjust one slider at a time with the other two at 0 - hue in particular shifts every colour in the image at once, so small changes go a long way.