Sub topic 5
Types of profile you will meet
This chapter assumes you know what an ICC profile is: a file that describes how one device turns numbers into colour. Here you learn to tell profiles apart by the job they do. In a print workflow you meet four roles: input, display, working space and output. Knowing which role a profile plays tells you where to use it and where not to.
Where the profile class is stored
Every ICC profile starts with a 128-byte header. The header holds three fields that classify the profile:
- Profile class: a four-letter code for the kind of device or job, such as
mntrorprtr. - Data colour space: the model of the numbers the profile describes, such as RGB, CMYK or Gray.
- Profile connection space (PCS): the device-independent space the profile translates to and from. It is either XYZ or Lab.
Your software reads these fields to decide what a profile is allowed to do. For example, an application will offer a CMYK output profile as a proof or destination, but it will not offer it as the working space for an RGB document.
The four roles in a print workflow
Input profiles
An input profile describes a device that captures colour, such as a scanner or digital camera. It has the class scnr. It tells the colour management module (CMM) how to interpret the raw values the device produced.
In practice you rarely handle these files directly. Cameras usually write a standard working space such as sRGB or Adobe RGB into the file. Raw converters apply their own camera profiles internally. You meet a true input profile mainly when you scan film or artwork with a calibrated scanner.
Display profiles
A display profile describes how one monitor turns RGB numbers into light. It has the class mntr. It is created by measuring your screen after you calibrate it, which a later chapter covers.
Your operating system applies this profile to everything you see. Your files are never tagged with it. Nobody else's monitor has the same behaviour, so you do not embed a display profile in a document.
Working-space profiles
A working space is the profile you tag a document with while you edit it. Examples are sRGB, Adobe RGB (1998) and ProPhoto RGB. You choose it for editing convenience and gamut size, and the next chapter covers how to choose.
Working spaces are mathematically simple. They use a clean gamma or tone curve and three well-defined primaries, so equal RGB steps look evenly spaced and edits behave predictably. They do not describe a real device.
Most working-space profiles are classed as mntr, the same code as a display profile. The ICC specification has a separate spac class for colour space conversion, but common RGB working spaces do not use it. The class tells you the profile's technical type. It does not tell you how you are using it.
Output profiles
An output profile describes a printing condition. It has the class prtr. The data colour space is usually CMYK, though inkjet profiles are often RGB. Its PCS is almost always Lab.
An output profile describes a combination of printer or press, ink, paper and total ink limit. It does not describe the printer alone. A coated-paper profile and an uncoated-paper profile are different files, because the same ink produces different colours on different paper. Later chapters cover print condition profiles and soft proofing in detail.
The less common classes
The ICC specification defines three further classes. You will meet them occasionally, and each has a narrow use.
| Class code | Name | What it does |
|---|---|---|
| `link` | DeviceLink | Converts directly from one device colour space to another, skipping the PCS. Print shops use it for fixed CMYK-to-CMYK conversions. |
| `abst` | Abstract | Applies a creative adjustment inside the PCS, such as a colour cast. It is not tied to a device. |
| `nmcl` | Named colour | Maps colour names to values. Spot-colour libraries use this class. |
A DeviceLink profile is the one most relevant to print work. A normal conversion goes source profile, PCS, destination profile. A DeviceLink bakes both steps into one fixed transform. This lets a print service preserve things such as pure black text, which a normal conversion through the PCS would not. The cost is that a DeviceLink works for exactly one source and destination pair, and you cannot change the rendering intent after it is built.
Reading a profile's class
You can check any profile before you use it. The first method uses ExifTool on an image with an embedded profile:
exiftool -ICC_Profile:ProfileDescription -ICC_Profile:ProfileClass -ICC_Profile:ColorSpaceData photo.jpgThe second method reads the header of a standalone .icc file directly. It needs only the Python standard library:
import sys
CLASSES = {
"scnr": "Input (scanner, camera)",
"mntr": "Display",
"prtr": "Output (printer, press)",
"link": "DeviceLink",
"spac": "Colour space conversion",
"abst": "Abstract",
"nmcl": "Named colour",
}
with open(sys.argv[1], "rb") as f:
header = f.read(128)
if len(header) < 128 or header[36:40] != b"acsp":
sys.exit("Not an ICC profile")
device_class = header[12:16].decode("ascii")
data_space = header[16:20].decode("ascii").strip()
pcs = header[20:24].decode("ascii").strip()
print(CLASSES.get(device_class, device_class), data_space, pcs, sep=" | ")Run it as python profile_class.py press_profile.icc. A typical coated-paper press profile prints Output (printer, press) | CMYK | Lab. A standard sRGB profile prints Display | RGB | XYZ. Every ICC profile has the bytes acsp at offset 36, which is why the script uses that value to reject other files.
Matching the role to the job
The role of a profile determines where it belongs. Most profile mistakes come from using a profile in the wrong place.
| Task | Profile to use | Profile to avoid |
|---|---|---|
| Editing a photo | A working space such as Adobe RGB | Your display profile |
| Previewing print on screen | An output profile, as the proof condition | A working space |
| Converting for the press | The printer's output profile | A generic CMYK profile you chose at random |
| Tagging a web image | sRGB | Your display profile |
The display profile is the most common mistake. People find it in the list of profiles in an editor and choose it for a document, because it matches what they see. The result is a file tagged with a profile that describes only your own monitor. Anyone else who opens the file gets wrong colours.
A second problem is a name that misleads. A profile called "CMYK" in a menu may be a press condition, a generic default or an old inkjet profile. The name often tells you less than the header does. When you are unsure which condition a profile describes, read the description and class, and ask your printer which profile they recommend.
Common errors
- Using an output profile as a working space. Most editors refuse this, but some allow a CMYK document to be tagged with a press profile. That is correct for CMYK files meant for that press. It is wrong for an RGB document, and an RGB profile would be wrong for a CMYK one.
- Assuming one CMYK profile fits every job. Output profiles describe paper and ink. A profile for coated sheetfed stock gives poor results on newsprint.
- Trusting the profile name alone. Check the class and colour space in the header.
Exercise
You open a profile and find the class prtr, the data colour space CMYK and the PCS Lab. What kind of profile is it, and can you use it as the working space for an RGB photo?
Show answer
It is an output profile that describes a print condition (a press or printer, ink and paper combination). You cannot use it as the working space for an RGB photo, because its data colour space is CMYK. An RGB photo needs an RGB profile such as sRGB or Adobe RGB. You would use the output profile later as the destination of a conversion or as the proof condition.
Exercise
A colleague sends a layout tagged with a profile whose description is the name of their monitor. What is wrong, and what should they have used?
Show answer
They tagged the document with a display profile, which describes only their own screen. Your software would interpret the colours as if they came from that monitor. They should have tagged the document with a working space such as sRGB or Adobe RGB, and used the output profile only when converting for print.