New Tool Radar

AI Design Workflows

How to Check an AI-Generated Image for Banding in Its Gradients

Look at the gradients in an AI-generated image at full size for visible bands, because smooth colour blends are where compression damage shows first.

Schematic with three steps: Find every gradient in the image; Inspect each gradient at full size; Re-export or add noise to a banded.

A smooth gradient in an AI image can break into visible bands of colour, especially in a sky, a background, or a soft shadow. MDN documents that a linear gradient interpolates between colour stops along a gradient line, and that the position of the stops controls the transition, so a gradient with few stops or a long transition is the most likely to band. Check the gradients at full size before the image is used, because banding that is invisible in a thumbnail shows up at full size.

What you need

  • The AI-generated image at full size
  • A note of where the gradients are: sky, background, shadows
  • A dark room or a high-quality screen for the check, if available

Step 1: Find every gradient in the image

Go through the image and mark every smooth colour blend: the sky, the background, any soft shadow or glow. Note which gradients cover a large area, since those band most visibly.

Step 2: Inspect each gradient at full size

Zoom to full size and look along each gradient for distinct bands or steps of colour instead of a smooth blend. Check the darkest and lightest parts of the gradient, where banding is easiest to see.

Step 3: Re-export or add noise to a banded gradient

If a gradient bands, re-export the image at a higher quality, or add a small amount of noise to the gradient area to break up the bands. Re-check at full size after the fix.

Worked example: synthetic banding check of one image

The table below is a synthetic example. It shows the expected result of checking one image with three gradients; no image was used.

Gradient Bands visible? Verdict
Sky Yes – clear bands Fail
Background No Pass
Shadow glow Yes – faint bands Fail
Button No Pass

Expected result (UNTESTED). 2 of 4 gradients are smooth, and the sky and the shadow glow show banding, so the image must be re-exported at a higher quality before use. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Banding can be caused by the export format as well as the generation, so check the file that will be used, not a preview.
  • Adding noise can hide banding, but it also softens the image, so check the detail after the fix.
  • A gradient that looks smooth on one screen can band on another, so check on the best screen available.
  • Figma notes that its Detailed resampling suits gradients while Basic resampling suits hard lines, so use the right export setting.

Sources

See all