- About Graphics Mill
- What's New?
- Breaking Changes in Graphics Mill 12
- Breaking Changes in Graphics Mill 11
- Features
- Supported File Formats
- System Requirements
- Getting Started
- Working with Image Formats
- Transforming Images (Resize, Rotate, Crop)
- Working with Metadata
- Color Management and Color Reduction
- Drawing Text and Graphics
- Color Keying (Green Screen Removal)
- Channels and Pixel Data
- Color and Tone Correction
- Working with Photoshop (PSD) Files
- Image Filters
- Processing Large Images
- Basics of Image Processing
- Troubleshooting
- Class Library Reference
- Licensing
- End User License Agreement
- Copyright Notices
Selecting Color Management Engine
Graphics Mill allows using LittleCMS and Adobe® Color Management Module (CMM) color management engines. They both use the International Color Consortium (ICC) standard for converting colors and both produce almost the same results.
The method to specify the exact color management engine depends on the method used to transform images:
- For in-place transformation, use the ColorManagementProvider.ColorManagementEngine property:
C#
using (var bitmap = new Bitmap(@"Images\in.jpg")) { bitmap.ColorManagement.ColorManagementEngine = ColorManagementEngine.LittleCms; //bitmap.ColorManagement.ColorManagementEngine = ColorManagementEngine.AdobeCmm; } - For out-of-place transformation, use the ColorConverter.ColorManagementEngine property:
C#
using (var cc = new ColorConverter(PixelFormat.Format24bppRgb)) { cc.ColorManagementEngine = ColorManagementEngine.LittleCms; //cc.ColorManagementEngine = ColorManagementEngine.AdobeCmm; }
You can find additional code snippets demonstrating both in-place and out-of-place color conversions in the Converting Colors with Color Management topic.
If the AdobeCmm engine is selected, Graphics Mill requires Adobe® CMM to be installed on a target machine. Otherwise, the CMAdobeModuleLoadException is thrown.
Little CMS
The Little CMS (LCMS) is an open source color management library which is built in Graphics Mill.
Adobe® CMM
The Adobe® CMM is the color conversion engine based on the Adobe Color Engine (ACE) and is provided in a form which can be used by non-Adobe applications. Before developing an application that uses Adobe® CMM, this module must be installed on the development machine.
Adobe® CMM can be used with x86 version of Graphics Mill only.
System Requirements
Adobe® CMM requires Microsoft® Windows XP with Service Pack 2/Vista/7/8 or Windows Server 2003/2008/2012.
Installation
To install Adobe® CMM on the development machine, perform the following steps:
- Download the Adobe® CMM for Windows from helpx.adobe.com.
- Unzip the downloaded file.
- Double-click the installer and follow the instructions provided.
When the Adobe® CMM is successfully installed on your development machine, you can use it with Graphics Mill.
Redistribution
If the application is based on Graphics Mill and uses Adobe® CMM for color conversion operations, you should guarantee that Adobe® CMM is installed on your users' systems. You need to be sure to describe this dependency in your documentation and should also consider redistributing Adobe® CMM with your installation package.