Motion, Sound and MusicLesson 41 of 72

Module 5 · Codecs, colour and delivery

Counting the steps in a gradient

In this lesson

  • 10 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 5 of 9 in this chapter

This chapter’s goalExport a piece of video against a stated constraint (a size budget, a platform’s requirements, an archival master, an editable intermediate) by choosing the codec class, rate-control mode, bit depth and colour tags from what the file is for; and diagnose a delivered file that looks milky, crushed, banded, juddery or twenty times too large by naming which of those decisions produced it.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

Count the steps in the gradient

Open a dark sky, a studio backdrop lit with a soft falloff, or a simple gradient behind a title, and you will often see distinct bands instead of a smooth ramp. The cause is arithmetic you can do in your head.

An 8-bit channel has 256 levels. Spread a gradient from black to white across a 1920-pixel-wide frame and each level covers about 7.5 pixels. Restrict it to a realistic range (a sky that runs from level 40 to level 90, fifty levels over 1080 pixels) and each step is 21 pixels wide.

The human visual system is very good at detecting an edge, including an edge of about 1 per cent in luminance between two large flat areas. A 21-pixel step is a visible line. This is banding, and it is not a compression artefact in origin; it is quantisation.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Video with AI exam.

Stuck on something?Ask Deepa, your AI tutor

How to cite: Addaly (2026) ‘Counting the steps in a gradient’, in Motion, Sound and Music. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/motion-and-audio/bit-depth-and-banding (Accessed: 29 November 2026).