Get Dasca

Docs

Learn Dasca, from your first project to node graphs.

Tutorials / Dithering Basics

Dithering Basics

Learn dithering in DASCA with the Dither and Error Diffusion effects: methods, matrices, levels and palettes, pixel size and ready recipes.

Note

These docs cover Dasca 2.3.

Dithering draws an image with only a few colors and uses patterns of those colors to suggest the tones in between. This tutorial shows how to get clean, controlled dithering with the Dither and Error Diffusion effects.

What dithering does

Reduce a photo to black and white by simply rounding every pixel, and you lose all midtones: everything becomes flat black or flat white. Dithering keeps the midtones by mixing the available colors in small patterns. A mid gray becomes a checkerboard of black and white pixels, a light gray becomes mostly white with a few black pixels, and so on. From a normal viewing distance, the eye blends the pattern back into a tone.

Every dither has three parts you control in DASCA:

  1. How the pattern is made: ordered, noise or error diffusion.
  2. Which colors are allowed: levels or a palette.
  3. How big the pixels are: pixel size and pixel shape.

Start with a dither effect

  1. Import an image (Ctrl+I, or Cmd+I on macOS).
  2. In the right panel, open the Effects tab and set the category filter to Dither.
  3. Click Dither or Error Diffusion. Its settings appear below the library.

Both effects use 1-bit (black and white) by default, so you see the dither pattern right away. Full parameter tables are on Dither Effects.

Ordered, noise or error diffusion

Ordered (Dither effect, Method: Ordered)

Set Method to Ordered. The effect compares each pixel against a fixed threshold matrix that repeats across the image. The result is a regular, even pattern.

Choose the matrix with Matrix:

MatrixLook
Bayer 2×2, Bayer 4×4, Bayer 8×8, Bayer 16×16, Bayer 32×32The classic crosshatch dither. Small matrices give a coarse, graphic look with few tone steps. Larger ones give more tone steps and smoother gradients. Bayer 4×4 is the default.
Halftone Dot 4×4, Halftone Dot 8×8Clustered dots that change size with the tone, like print halftone.
Horizontal Lines, Vertical Lines, Diagonal LinesLine patterns whose thickness follows the tone, for engraving and scanline looks.
Crosshatch, Diagonal CrosshatchLine patterns that cross in darker tones, like pen hatching.
CustomYour own matrix. Type it in Values: one row per line, numbers separated by spaces. Only the order of the values matters.

Pattern Scale (1 to 8) makes each matrix cell cover more pixels, so the pattern gets larger without changing the pixel size.

Ordered dithering is stable: the same tone always gives the same pattern. This makes it a calm choice for video and animation.

Noise (Dither effect, Method: Noise)

Set Method to Noise. The threshold now comes from noise instead of a matrix, so the pattern has no visible grid.

NoiseLook
Blue NoiseThe smoothest, most even grain. The default.
IGN, R2Even grain that keeps a faint structure.
White NoisePlain random static.

Turn on Animate to change the pattern over time so the grain moves. Frame Rate (1 to 60, default 12) sets how many times per second the pattern changes.

Error diffusion (Error Diffusion effect)

Error Diffusion works pixel by pixel. It picks the nearest allowed color and passes the rounding error on to the neighboring pixels, so the next pixels make up for it. This gives an organic, detailed result that holds fine texture well. It is the classic choice for photos.

ControlWhat it does
AlgorithmHow the error is spread. Floyd-Steinberg is the standard (default). Atkinson is high contrast and drops part of the error. Jarvis and Stucki are smoother. Sierra Lite is the fastest. Burkes and Sierra are also available.
DiffusionShare of the error passed on (0 to 1, default 1). Below 1 gives cleaner, flatter areas with less noise.
SerpentineAlternates the scan direction on every row, which removes diagonal streaks. On by default.
ResolutionPixel Grid dithers at the chosen pixel size for a pixel-art look. Native works on every pixel of the image, like classic error diffusion, and is slower.

Which one to use

You wantUse
A graphic, retro patternDither, Ordered, a Bayer matrix
A print or engraving lookDither, Ordered, a halftone or line matrix
Smooth film-like grainDither, Noise, Blue Noise
The most detail in a photoError Diffusion, Floyd-Steinberg or Jarvis
Bold, contrasty photo ditheringError Diffusion, Atkinson

Levels or palette

Both effects have a Color select with two choices.

Levels

Levels splits each color channel into equal steps. Levels (2 to 16) sets the number of steps per channel. At 2 you get 8 colors in RGB (every channel either off or on). Turn on Grayscale to dither brightness only; with Levels at 2 this gives pure black and white.

Levels is quick for posterized color and for clean grayscale ramps.

Palette

Palette limits the output to a fixed list of colors. Pick one from the Palette bar, or make your own. See Palettes.

In Dither, Color Mix (2 to 16, default 8) sets how many palette colors can be combined to match one pixel. At 2 you get clean two-color patterns. Higher values blend more smoothly.

The order of colors in a palette does not matter: each pixel uses the closest colors.

The gradient palette in Adjustments > Color does not affect these effects. Use their own Palette instead.

Pixel size

Pixel Size (1 to 40, default 3) sets the size of one dither pixel. It is measured on a 1080-pixel-tall image, so the look stays the same when you change the canvas size. The dither pattern snaps to these pixels.

  • 1 to 2: fine dither that reads almost as a tone.
  • 3 to 6: visible pixel pattern, the typical retro look.
  • 8 and above: large, graphic pixels.

Sampling decides how each pixel reads the image: Smooth averages the area under the pixel, Sharp reads a single point and keeps hard edges.

Pixel Shape (Square, Round, Diamond) and Pixel Gap change how each pixel is drawn. With a round shape or a gap, Background sets the color between pixels. This is useful for LED, dot matrix and bead looks. In Error Diffusion these controls are available with Resolution set to Pixel Grid.

Prepare the tones

Dithering shows tone problems clearly, so both effects have tone controls that work before dithering: Brightness, Contrast, Gamma (above 1 lightens midtones), Saturation and Sharpen (sharpens at pixel size, so edges survive).

In Dither you can also shape the result directly:

ControlWhat it does
Strength0 turns dithering off and snaps to the nearest color. Above 1 adds extra grain. Default 1.
ThresholdMoves the cutoff. Negative values give more dark pixels, positive values more light ones.
Low CutTones darker than this are not dithered and stay flat.
High CutTones lighter than this are not dithered and stay flat.

A little extra Contrast and a small Sharpen usually make a dither read much better, especially in 1-bit.

Recipes

Each recipe starts from the effect's defaults. Use Reset to defaults in the settings header to start over.

Classic 1-bit

  1. Dither, Method Ordered, Matrix Bayer 4×4.
  2. Color Palette, Palette 1-bit.
  3. Pixel Size 4, Contrast about 1.2.

Newspaper halftone

  1. Dither, Method Ordered, Matrix Halftone Dot 8×8.
  2. Palette 1-bit, or Amber for a warm print.
  3. Pixel Size 2, Pattern Scale 2.

Engraving

  1. Dither, Matrix Horizontal Lines or Crosshatch.
  2. Palette 1-bit, Contrast about 1.3, Sharpen about 0.5.

Film grain monochrome

  1. Dither, Method Noise, Noise Blue Noise.
  2. Color Levels, Levels 4, Grayscale on.
  3. Pixel Size 1 to 2. For video, turn on Animate.

Detailed photo in black and white

  1. Error Diffusion, Resolution Native, Algorithm Floyd-Steinberg.
  2. Color Levels, Levels 2, Grayscale on.
  3. Raise Contrast slightly. Try Atkinson for a harder, brighter result.

Pixel art with a limited palette

  1. Error Diffusion, Resolution Pixel Grid, Pixel Size 4.
  2. Color Palette, a four-color palette such as Gray 4 or Ice Cream.
  3. Diffusion about 0.6 for cleaner flat areas.

LED board

  1. Dither, Pixel Size 8, Pixel Shape Round, Pixel Gap about 0.3.
  2. Color Levels, Levels 2 for bright primary colors.

Combine with other effects

Dither effects work well in the Effect Chain. Place effects that change the image (blur, distortion, color) before the dither, so the dither pattern stays crisp. Effects placed after the dither will soften or distort the pattern itself.

You can also animate dither settings over time, for example Threshold or Pixel Size. See Keyframes and Timeline.