What is Anti Aliasing?

Anti-aliasing reduces stair-step artifacts along diagonal or curved edges. It works by blending boundary pixels, increasing sampling density, or otherwise approximating partial pixel coverage.

How Anti Aliasing works

Aliasing occurs when a sampled grid cannot represent the spatial frequencies or edge positions present in the source. Anti-aliasing reduces those artifacts by filtering before resampling, estimating fractional pixel coverage, increasing sample density, or smoothing a rendered result. It appears during rasterization, resizing, compositing, and video scaling, but the appropriate method depends on whether the source is geometry, text, texture, or an existing raster.

Key facts

  1. When reducing an image, a low-pass filter should remove detail above the new sampling limit before decimation; resizing without it can create moiré and false patterns.
  2. Multisample anti-aliasing primarily improves polygon boundaries and does not automatically eliminate aliasing inside shader effects, transparent textures, or specular highlights.
  3. Filtering colored edges with the wrong alpha representation can create halos, so resampling transparent artwork should use alpha-aware or premultiplied-color processing.

When Anti Aliasing matters

Enable it when rendering text, vector graphics, 3D scenes, or resized imagery where jagged edges are distracting. Strong filtering can soften fine detail, while weak filtering may leave visible aliasing.

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