Format Conversion

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

Assign a color profile to a bitmap

Replaces the embedded color profile of an image with a new one.

Combine channels

Combines image channels from multiple sources into a single image.

Compare Image Format Compressions

Compares compression of WebP, JPEG and PNG image formats.

Convert And Write JPEG

Converts to PixelFormat.Format24bppRgb to and saves to JPEG format.

Convert Animated GIF Image To WebP

Converts animated GIF image to WebP format.

Copy Clipping Path

Copies all Adobe resources including clipping path.

Copy Clipping Path (Memory Friendly)

Copies clipping path using memory-friendly Pipeline API.

Create a PDF/X-4 file with CMYK output intent

This sample shows how to create a PDF/X-4 document with a CMYK output intent using GraphicsMill. It demonstrates how to load a CMYK print profile, configure an OutputIntent, initialize a PdfWriter with that intent, convert an RGB image to CMYK using color management, and draw it onto a PDF page together with a solid CMYK-filled shape.

Create Business Card

Creates business card in PDF format.

Create Clipping Path

Demonstrates how to create Adobe resource block with path from SVG file and save it to JPEG format.

Create Multipage PDF

Creates multipage PDF with personalized wedding invitations.

Crop Image And Preserve Clipping Path

Crops image and preserves clipping path.

Crop Jpeg Losslessly

Crops JPEG image losslessly.

Draw On PDF With Spot Color

Fills a rectangle with a PANTONE color.

Enum Container Elements

Enumerates the elements of a graphics container.

Flip Jpeg Losslessly

Flips JPEG image losslessly.

Get embedded profile using memory-friendly Pipeline API

Gets and displays information about the embedded profile using the memory-friendly Pipeline API.

Get EXIF Thumbnail

Gets thumbnail of image from its EXIF metadata.

Load Multiframe Image

Loads multiframe image.

Load Save Stream

Loads and saves image to stream.

Modify Clipping Path Explicitly

Modifies clipping path explicitly.

Modify Clipping Path Explicitly (Memory Friendly)

Modifies clipping path explicitly using memory-friendly Pipeline API.

PDF Layers

Creates a PDF with layered content.

PDF To SVG

Reads vector content from a PDF file and saves it to an SVG format.

Png NeuQuant Example

Saves image to PNG format using different bitness, color quantization and dithering algorithms.

Process Complex EXIF Types

Reads and writes complex EXIF tags.

Read and Write JPEG

Reads and writes image in JPEG format.

Read Animated Gif

Reads frames of animated image in GIF format.

Read Clipping Path Flatness

Read a TIFF image that contains an Adobe resource block for clipping paths, retrieve and display the clipping path name and flatness.

Read Convert And Write TGA

Reads image in TARGA 24 format and saves to TARGA 16 format with RLE compression.

Read EXIF and IPTC

Reads EXIF and IPTC metadata.

Read Extra Channel From TIFF

Reads a extra channel from a TIFF file and saves it as a new TIFF image.

Read Image Metadata

Reads image metadata without loading bitmap data.

Read image with WPF

Demonstrates passing an image to a pipeline with the custom image reader.

Read Multiframe TIFF

Reads multiframe image in TIFF format.

Read Multiframe TIFF Memory Friendly

Reads multiframe image in TIFF format using memory-friendly Pipeline API.

Read RAW Image

Reads RAW image.

Read TIFF

Reads first frame of image in TIFF format.

Read XMP Metadata

Reads all XMP properties.

Read XMP Property

Reads specific XMP property.

Recolor Red Strokes

Demonstrates how to modify the stroke colors of shapes within a graphics container by detecting red strokes and recoloring them.

Recompress JPEG partially

Applies mosaic effect on region of image with partial JPEG recompression.

Resize And Preserve Metadata

Resize a JPEG and preserve/update metadata with Aurigma Graphics Mill. Halves width (keeps aspect), updates EXIF Software, adds IPTC keyword, sets Adobe copyright flag, adds XMP dc:contributor, and saves all metadata.

Resize Animated Gif

Resizes animated image in GIF format.

Resize Image And Clipping Path (Memory Friendly)

Resizes image and clipping path using memory-friendly Pipeline API.

Resize while reading JPEG

Demonstrates how to resize a JPEG image using the codec's resize capability.

Rotate JPEG losslessly

Rotates JPEG image losslessly.

Save Multiframe Image

Saves multiframe (multipage) image.

Save Vector Content To JPEG

Reads vector content from the specified PDF file, rasterizes it, and saves it in JPEG format.

Split channels

Extracts individual channels from a CMYK image using channel splitter and saves them as separate files.

SVG To PDF

Converts SVG file to PDF format.

Update JPEG metadata losslessly

Updates metadata of JPEG image without recompression.

Write Animated Gif

Writes simple animated image in GIF format.

Write bitmap to EPS

Saves bitmap to EPS format.

Write Bitmap To PDF Memory Friendly

Saved bitmap to PDF format using memory-friendly Pipeline API.

Write EXIF and IPTC

Writes EXIF and IPTC metadata.

Write EXIF and IPTC (Memory Friendly)

Writes EXIF and IPTC metadata using memory-friendly Pipeline API.

Write Extra Channel

Creates a TIFF image with an extra channel.

Write Extra Channel With Display Info

Saves extra channels with display info to Adobe Resources.

Write Extra Channel With Name

Save the name of an extra channel to Adobe Resources.

Write image with WPF

Demonstrates writing an image from a pipeline with the custom image writer.

Write Multiframe TIFF

Demonstrates how to create a TIFF file with multiple frames.

Write PNG Image

Reads image in JPEG format and saves to PNG format.

Write Raster And Vector Graphics To PDF

Saves raster and vector graphics to PDF format.

Write Text To PDF

Demonstrates writing text as PDF text.

Write TGA

Reads an image in JPEG format, flips it vertically, and saves it in TARGA format.

Write TIFF

Loads a JPEG image and converts it to TIFF format.

Write WebP

Reads image in JPEG format and saves to WebP format.

Write WebP Lossy And Lossless

Writes image in WebP lossy and lossless format.

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