Dither images at full size

This tool dithers an image at its own pixel size. It opens in Black & white with Floyd-Steinberg error diffusion, so a photo turns into black and white dots that still show its shading. You can switch to grayscale, a 16-color retro palette or colors taken from your image, and everything runs in your browser.

1. Choose image

Choose or drop one image. PNG, JPEG, WebP, GIF, SVG, TIFF and other decodable images. Nothing is uploaded.

No image selected.

2. Pixel art settings

Height follows the image’s aspect ratio, rounded to a whole pixel.

Each grid pixel becomes a square block this many pixels wide and tall.

Choose an image to begin.

Original image

Choose an image to begin.

Fitted to the preview. Checkerboard shows original transparency.

Pixel art result

Create pixel art to see your result.

Color palette

    How to dither an image

    When an image opens on this page, Pixel grid width takes the image's own width and Output pixel scale is 1, so the result has exactly the pixel size of the original. Color palette starts at Black & white and Dithering method at Floyd-Steinberg.

    1. Select Choose image, or drop one image on that area. The line under the chooser shows its size in pixels.
    2. Keep the settings, or pick another palette and method.
    3. Select Create pixel art and compare the result with the original.
    4. Select Download PNG. The file keeps the image name with -pixel-art added, such as photo-pixel-art.png.

    Changing a setting clears the result until you create it again. Reset settings returns to Black & white, Floyd-Steinberg, scale 1 and the width of the open image. Each run starts again from the original, so creating twice does not dither the dither.

    What dithering does to shades

    A palette of two colors has no gray. Mapping each pixel to its nearest color turns every shade into pure black or pure white, which flattens soft light into hard shapes. Dithering mixes the palette colors in small patterns instead, and from a normal viewing distance the eye averages the dots into the missing shades.

    We checked this with a gray ramp that runs from 0 on the left to 255 on the right, dithered in Black & white. The table gives the average gray of four of its eight bands before and after.

    Band averageNoneOrderedFloyd-Steinberg
    47.5047.846.6
    111.50111.6112.3
    143.5255143.4143.2
    207.5255207.2208.2

    With None, the left half became black and the right half white. Both dithering methods kept every band within 1.5 of its original average.

    Floyd-Steinberg or ordered dithering

    Floyd-Steinberg works through the image row by row. It rounds each pixel to the nearest palette color and passes the difference on: 7/16 to the next pixel on the right and 3/16, 5/16 and 1/16 to the three pixels below. The result is a loose, grainy spread of dots that follows edges and fine detail closely.

    Ordered dithering adds a fixed 4 × 4 Bayer pattern to the image before it picks colors, so every area of one shade gets the same regular texture. A mid gray in Black & white became a checkerboard of single black and white pixels, and other shades give cross-hatch patterns.

    The choice also changes the file. A 4000 × 3000 test picture of noisy color gradients saved at 6.03 MB with Floyd-Steinberg and 2.4 MB with Ordered, both in Black & white. The regular pattern compresses better in PNG.

    Black and white, grayscale or color

    Color palette decides which colors the dots can use. Black & white uses pure black and white, #000000 and #FFFFFF, for the 1-bit look of early computer screens. Grayscale uses four evenly spaced shades: #000000, #555555, #AAAAAA and #FFFFFF. Retro is a fixed set of 16 colors.

    Adaptive builds the palette from your own image. Maximum palette colors appears for it, starts at 16 and takes any whole number from 1 to 32,768. A picture with little variation can get fewer colors than you ask for. Fewer colors make the dithering easier to see, and more colors make it finer.

    The swatches under the result list each palette color as a hex code. In our checks the downloaded PNG held only those colors: 2 in Black & white, 4 in Grayscale and 16 with Adaptive at 16.

    Size, transparency and limits

    The dithered PNG has the pixel size of the original, and the height follows the image's aspect ratio. Output pixel scale enlarges each pixel into a square block with sharp edges, so a scale of 2 doubles both sides. A smaller Pixel grid width shrinks the picture first, which gives large, chunky dithering in the style of pixel art.

    Transparent areas are flattened onto white before the colors are mapped, and the PNG is fully opaque. Output is a static 8-bit sRGB image. An animated GIF or a multipage TIFF gives one frame or page, and original metadata and HDR information are not kept. Browser decoding and resizing can change colors.

    The tool offers three methods and has no brightness or contrast control, so adjust a flat photo in another tool first. It sets no size limit. An image too large for your browser's canvas or memory ends in an error that keeps your image and settings.

    Questions

    What does it mean to dither an image?

    To dither an image is to redraw it with a small set of colors and spread those colors in fine patterns, so the eye blends them into shades the set lacks. Newspaper prints, early computer screens and GIF images used it, and today it is also a popular graphic style.

    What does dithering look like?

    Up close, a dithered image is a field of single dots in a few colors. From further away the dots blend into smooth shading. Floyd-Steinberg gives an irregular grain, while ordered dithering gives a repeating grid pattern, such as a checkerboard for mid gray in black and white.

    Does dithering improve image quality?

    It does not add detail, and the dithered file holds fewer colors than the photo. Compared with the same small palette without dithering, it can make gradients look smoother by mixing dots of the palette colors. The pattern may also add unwanted texture. Compare the previews and choose None when you want flat areas of color, as in a poster style.

    Should dithering be on or off?

    Turn it on for photos, skies, skin and other soft gradients, where a small palette would otherwise leave hard bands. Turn it off, with Dithering method set to None, for logos, text and flat artwork, where the dots only add noise to areas that should stay one clean color.

    Are my images uploaded?

    No. The image is opened, dithered and saved as a PNG in a Web Worker inside your browser on this device, and it is not sent anywhere or kept in browser storage. A new image replaces the previous image and result only after it opens successfully. A damaged or unsupported replacement leaves your current work available. Cancel & clear or leaving the page releases the local image and result.

    Related tools