Demos & Samples

#indexed filter is applied. Clear filter

A Load and Save

A.06 PNG Format

Loads and saves PNG images. Converts a bitmap to a palette-based image optimized for web.

A.08 GIF Format

Loads and saves GIF images. Converts a bitmap to a palette-based image optimized for web.

A.15 PNG NeuQuant

Demonstrates how to reduce 24-bit colors to 8-bit using NeuQuant algorithm and save the result to PNG. Comparing to classic color quantization algorithms, NeuQuant provides much better quality and preserves alpha channel, scarifying the performance.

E Color Management

E.01 Converting Pixel Formats

Demonstrates how to convert an image between different pixel formats (RGB, CMYK, indexed, black-white, extended precision per channel). Creates indexed PNG images optimized for web. Adds alpha channel to a bitmap.

E.02 CMYK, Grayscale to RGB

Сonverts a non-RGB image (such as CMYK or grayscale) to a standard 8 bit per-channel RGB pixel format.