Codecs

Codecs Format Conversion Drawing Bitmap Pipeline Write Metadata Read Transform Color Conversion Text JPG TIFF Channels Filesystem Adobe Resources PDF Color Management Resize Color Adjustment Multiple frames Text Layout PSD Clipping Paths EXIF Formatted Text Branched Pipeline Personalization PSD Processor Color Profile Crop Extra Channels Graphics Container Interoperability Lossless JPEG Spot Color WEBP Font GIF IPTC Rotate Thumbnail WPF Advanced Art Text Indexed format PNG Stream TGA XMP Compression EPS Gradient Image Validation Modify Container SVG Watermark Green Screen Pixel Access Rasterization RAW Transparentize VDP Vignette BMP

Samples demonstrating basic image encoding and decoding across supported formats. Shows how to read from and write to files and streams, and perform simple format transcoding. Includes minimal, focused examples suitable for integration into a pipeline API.

Custom Codecs

Samples for implementing and registering custom image codecs for specialized formats.

Encapsulated PostScript (EPS)

These samples demonstrate working with Encapsulated PostScript files. They show how to extract an embedded TIFF preview and convert it to PNG, and how to write EPS directly from a raster image. You can also generate EPS with mixed raster and vector content such as images, shapes, and text while controlling page dimensions.

Graphics Interchange Format (GIF)

Loading, saving, and optimizing GIFs, including animation and palette handling.

JPEG format

Reading and writing JPEG with quality, chroma subsampling, and progressive options.

Loading and Saving Images

Common patterns for decoding from and encoding to various image formats using the supported codecs.

Portable Document Format (PDF)

These samples demonstrate creating and exporting PDF documents with both raster and vector content, including drawing shapes, images, and embedded text. They cover single‑ and multi‑page output, layer visibility control, writing text as real PDF text, and size reduction with compression settings.

Portable Network Graphics (PNG)

Working with PNG color types, alpha transparency, interlacing, and compression levels.

Raw Image Format (RAW)

Extract thumbnails from RAW files.

Spot Colors

Handling spot color channels and converting spot colors to process where needed.

Truevision TARGA (TGA)

Loading and saving TGA with pixel formats, RLE compression, and color maps.

Tagged Image File Format (TIFF)

Working with multi-page TIFF, compression schemes, bit depths, and tiled/striped storage.

Vector Formats

Demonstrates how to load vector data from various formats, modify it, and save it back.

WebP

Encoding and decoding WebP with lossy/lossless modes, alpha, and animation.

For AI-assisted development: Download Graphics Mill Code Samples XML Catalog