Drawing

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

Add Alpha Channel

Generates an elliptical alpha channel and applies it to the source image.

Add Alpha Channel (Memory Friendly)

Generates an elliptical alpha channel and applies it to the source image using memory-friendly Pipeline API.

Art text

Shows different types of art texts.

Artistic Frame

Draws artistic frame.

Autofit

Demonstrates how to fit the largest possible text inside a PathBoundedText area.

Bounded Text

Demonstrates how to use bounded text.

Colored Text

Renders formatted, multi-colored text onto a bitmap.

Colored Watermark

Demonstrates how to apply a colored watermark to an image using a tiling brush with text rendering.

Convert Clipping Path To Mask

Converts clipping path to alpha channel mask.

Convert Clipping Path To TGA

Reads image in JPEG format, converts clipping path to alpha channel and saves to TARGA 32 format.

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.

Create Vignette

Creates a vignette with a specified color.

Double Outline

Demonstrates how to draw a text with double outline.

Double Path Text

Demonstrates how to use double path text.

Draw Lists

Draws formatted text with ordered and unordered lists.

Draw On PDF With Spot Color

Fills a rectangle with a PANTONE color.

Draw Paragraphs

Draws formatted text with several paragraphs.

Draw Path

Draws path on Graphics.

Draw Spot On CMYK

Draws a text and an image on the spot channel, using the existing CMYK image as a background.

Draw text watermark on thumbnail image

This sample shows how to create a thumbnail image and draw a semi-transparent text watermark on top of it using the GraphicsMill transforms and advanced drawing APIs. It demonstrates how to resize the source image with the Resize transform, register a custom font, and render text with Drawer and PlainText. You can read more information about drawing in the documentation.

Draw Using Advanced Graphics

Performs drawing with AdvancedDrawing in the Pipeline API.

Draw Using GDI+ Graphics

Performs GDI+ drawing within the processing pipeline.

Draw With Clipping Path

Draws an image onto a Graphics object using a clipping path.

Font API

Draws text without text objects, only with getting char info + simple metrics.

Font Fallback

Draws multilanguage text with font fallback support.

Font Metrics

Adds font to FontRegistry from file and shows its metrics.

Gradient Color

Demonstrates drawing text with a gradient fill.

Matrix Transform

Applies matrix transformation to graphics.

Overlay an Image onto Another Image

Apply a watermark image onto a base image using advanced graphics drawing features.

Path Bounded Text

Draws text that flows across text frames; a green ellipse serves as a wrapping path that excludes text from its area.

Path Text

Draws text on a path.

PDF Layers

Creates a PDF with layered content.

Plain Text

Demonstrates how to use plain text.

Reflected Text

Exhibits a possible technique for implementing a mirrored text effect.

Replace Process Color

Converts the specified process color into a spot color saving graphics container to the PDF format.

Save Spot Image To PDF

Saves an image with a spot color to PDF.

Show Custom Font Metrics

Adds font to FontRegistry from file and shows its metrics.

Subscript and Superscript

Draws subscript and superscript text.

Text Effects

Demonstrates how to use shadow and glow effects for drawing text.

Text Frames

Render text in multiple columns and along a path using the Frames collection.

TIFF Extra Channels To Spot Color Space

Converts a TIFF file with extra channels to PDF with separation color space.

Vertical Text

Draws different vertical texts.

Visualize Clipping Path

Visualizes clipping path for demonstration purposes.

Wrapping Paths

Illustrates the utilization of wrapping paths for excluding specific regions for text layout.

Write Animated Gif

Writes simple animated image in GIF format.

Write Animated WebP

Writes simple animated image in WebP format.

Write raster and vector graphics to EPS

Saves raster and vector graphics to EPS 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.

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