Demonstrates various methods how to use Graphics Mill to load and save images. Both simple syntax to load a single image and more advanced techniques (to load multi-image files) are presented.
Loads and saves JPEG images.
Demonstrates how to apply lossless operations (rotate, flip, crop, update region and metadata) on JPEG files, without decoding/encoding JPEG data (therefore, avoiding image quality degradation).
Loads and saves TIFF images (both single and multiple pages).
Reads and writes extra channel to a TIFF image (such as spot colors or additional alpha channels).
Loads and saves PNG images. Converts a bitmap to a palette-based image optimized for web.
Loads and saves BMP images.
Loads and saves GIF images. Converts a bitmap to a palette-based image optimized for web.
Creates an animated GIF. Extracts all frames of animated GIF and resizes GIF without loosing the animation.
Demonstrates how to convert an image to WebP format (both simple and animated).
Reads RAW image format.
Extracts TIFF preview from EPS file.
Saves an image and graphics as PDF and EPS file (as bitmap and as vector).
Demonstrates how to resize images and generate thumbnails.
Rotates and flips images. You can rotate both 90/180 degrees clockwise and counterclockwise as well as an arbitrary angle.
Demonstrates how to crop a portion of an image.
Adjusts a brightness/contrast of an image.
Automatically rotates images based on EXIF orientation field. For JPEG images it uses lossless transform to prevent quality degradation.
Tints image using specified color.
Draws graphics primitives (line, rectangle, ellipse, polygon, curves) on RGB, CMYK, Grayscale images.
Applies an affine transformation (translate, rotate, resize, shear and their combinations) to a drawn graphics using a matrix.
Demonstrates how to draw complicated graphics using Graphics Paths.
Demonstrates drawing inside a region (also known as Clipping Path). Only those portions of graphics which are located inside a Clipping Path are visible.
Combines several images by drawing a bitmap over another one. It respects the transparency and alpha channels.
Draws text strings and text areas on an image. Includes: horizontal and vertical single line text (with optional effects), multiline text bounded with a specified rectangle.
Calculates width and height of a rectangle occupied by a text string with specified font settings as well as other font metrics. Includes: receiving text size and string ascender/descender, calculating “black box” of a regular string and artistic text (written on a circle), loads a font dynamically.
Draws a text line with various artistic effects and distortions. Includes: various artistic text types (text on circle, bended text, etc) with variable bend level, text effects (glow, shadow).
Distorts a text string using two custom Bezier curves (on the top and bottom of the string). Includes: drawing curved text based on two Beziers with variable font size.
Fills a JPEG image with a text watermark. Includes: two types of watermark (simple diagonal watermark and two-string watermark with a grid).
Generates two vector images and saves them as a PDF or EPS. Includes: drawing an image, vector and text data on a PDF/EPS, multipage PDF file support.
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.
Сonverts a non-RGB image (such as CMYK or grayscale) to a standard 8 bit per-channel RGB pixel format.
Illustrates how to convert an RGB image to CMYK with or without color management. Generates an RGB preview of this color conversion to display it on the screen.
Demonstrates how to work with color profile files, i.e. load them from images and separate files, append them to bitmaps, extract info from them.
Demonstrates how to convert CMYK/RGB images using different color management engines. LittleCMS and Adobe Color Management Module (CMM) are supported.
Explains how to work with image channels - split, combine or swap them. Find here how to add/remove alpha channel or make pixels of a given color transparent.
Converts an individual color between different color spaces with color management applied.
Demonstrates basics of image processing in Lab color space.
Reads and writes EXIF and IPTC metadata of image files (such as JPEG, TIFF).
Demonstrates very efficient technique to receive thumbnails for JPEG files - it extracts them from EXIF and if it doesn't exist, it resizes the JPEG file in a classic manner.
Reads and writes XMP metadata.
Reads and writes Adobe Resource metatada.
Demonstrates how to work with a clipping path added to an image in Adobe Photoshop. It is a part of in Adobe Resource metatada.
Shows how to preserve metadata (EXIF, IPTC, XMP, Adobe Resources) while you process images.
Demonstrates how to use memory-friendly Pipeline API to apply basic image processing operations such as resizing, rotation, cropping, combine and other effects. Strongly recommended for large images.
Draws rectangles, ellipses, etc on large images using a memory-friendly Pipeline API.
Shows how to use Pipeline API in various ways. See alternative syntaxes illustrating how to build a pipeline of readers, writers, and transforms for memory-friendly image processing.
Explains how to apply several image transformations to a single image in one run (e.g. generate thumbnails of several sizes). It allows processing an image in the most efficient way avoiding unnecessary file reading operations.
Explains how to use several images in one image transformation (i.e. build a pipeline which accepts several sources). In this example, a RGB bitmap is constructed from 3 grayscale images.
Demonstrates how to track a progress event (e.g. to display a progress indicator) and cancel the effect if the user press a hotkey.
Illustrates an example of a complicated pipeline which cuts a very large image into a big amount of smaller tiles at a single run.
Demonstrates how to apply green screen matting (chroma keying) technique, i.e. removes green background from an image.
Reads PSD images (including multilayered ones). Loads each layer, combines them together and creates a thumbnail.
Demonstrates how to parse, modify and merge layers of PSD file.
Demonstrates how to parse and merge layers of PSD file with curved text.
A sample image editing application based on Graphics Mill. It demonstrates how to apply various image transformations and display the result on the BitmapViewer control.
Demonstrates how to apply effects and display result on a BitmapViewer in two manners - synchronously and asynchronously, using Tasks.
Automates image resize and color correction using Graphics Mill and PowerShell
Demonstrates how to add Graphics Mill properly to a Windows setup on an example of InnoSetup Installer.
Cuts large images into tiles with memory-friendly algorithm (tens thousands pixel wide images are supported!) and displays it using Leaflet library.
Demonstrates how to build HTML5 editor using AJAX Vector objects wwhich allows users personalizing a hat, mug or t-shirt with a custom image and text.