Demos & Samples

#web optimization 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.10 WebP Format

Demonstrates how to convert an image to WebP format (both simple and animated).

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.