What is Chromatic Aberration?

Chromatic aberration is a lens artifact caused when different wavelengths focus at different points or produce different magnification. It appears as colored fringes near high-contrast boundaries.

How Chromatic Aberration works

Lens materials refract wavelengths differently, preventing an optical system from mapping all colors through exactly the same focus and magnification. The resulting error may vary with aperture, focal length, focus distance, and position in the frame rather than appearing uniformly. Correction is commonly applied during raw development or image transformation, before sharpening and final resizing amplify the colored edge displacement.

Key facts

  1. Longitudinal aberration places colors at different focus distances and can appear before and behind the focus plane; lateral aberration shifts color channels increasingly toward frame edges.
  2. Lateral correction can rescale and warp color channels using a lens profile, whereas longitudinal fringing is tied to defocus and is not fully repaired by simple channel alignment.
  3. A correction profile must match the lens and capture conditions closely enough to be useful. Excessive correction can introduce opposite-colored fringes or misregistration at high-contrast edges.

When Chromatic Aberration matters

Correct chromatic aberration in a photography pipeline when accurate edges and product colors matter. Deliberately adding the effect can create a stylized look, but excessive fringing reduces perceived sharpness.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free