Show Color Profile Information
Displays detailed information about color profiles (sRGB and ICC).
Сode Snippet
public static void Run()
{
Show(ColorProfile.FromSrgb());
Show(new ColorProfile("ISOcoated_v2_eci.icc"));
Show(new ColorProfile("ISOnewspaper26v4_gr.icc"));
}
private static void Show(ColorProfile colorProfile)
{
Console.WriteLine("\n## Color Profile Information #\n");
Console.WriteLine("Model: {0}", colorProfile.Model);
Console.WriteLine("Description: {0}", colorProfile.Description);
Console.WriteLine("Manufacturer: {0}", colorProfile.Manufacturer);
Console.WriteLine("Copyright: {0}", colorProfile.Copyright);
Console.WriteLine("Device class: {0}", colorProfile.DeviceClass);
Console.WriteLine("Color space: {0}", colorProfile.ColorSpace);
}
Input
ISOcoated_v2_eci.icc, ISOnewspaper26v4_gr.icc
Output
ShowColorProfileInfo.txt
## Color Profile Information #
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Device class: Display
Color space: Rgb
## Color Profile Information #
Model:
Description: ISO Coated v2 (ECI)
Manufacturer:
Copyright: PrintOpen 5.2.0 - (c) Copyright 2000-2006 Heidelberger Druckmaschinen AG. All Rights Reserved.
Device class: Output
Color space: Cmyk
## Color Profile Information #
Model:
Description: ISOnewspaper26v4_gr
Manufacturer:
Copyright: Copyright by LOGO GmbH, Steinfurt
Device class: Output
Color space: Grayscale
For AI-assisted development: Download Graphics Mill Code Samples XML Catalog