- 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
Working with Embedded ICC Profiles
In color management, an ICC profile is a set of data that characterizes a color input or output device, or a color space. ICC profiles can be embedded in most image files (for example, in JPEG, TIFF, PSD, etc.). An ICC profile allows you to be sure that an application will correctly color match the file. Graphics Mill can load embedded ICC profiles and save image files with ICC profiles.
To manage the ICC profile of an image use the Bitmap.ColorProfile property.
The following code demonstrates how to embed an ICC profile into an image:
C#
using (var bitmap = new Bitmap(@"Images\in.jpg"))
{
//Assign a standard sRGB profile
bitmap.ColorProfile = ColorProfile.FromSrgb();
//Save image with embedded color profile
bitmap.Save(@"Images\Output\out.jpg");
}