Sub topic 9
Black point compensation
This chapter assumes you know what an ICC profile is, how rendering intents work, and how to convert an image from one profile to another in your design application. It covers what black point compensation (BPC) does, when to switch it on, and the errors to watch for.
The problem BPC solves
Every device has a darkest black it can produce. A display can switch its backlight off for some pixels and get a very deep black. Uncoated paper with ink on it reflects light, so its darkest black is much lighter. The darkest colour a device can reproduce is its black point.
When you convert from a source with a deep black to a destination with a shallow one, the darkest shadows can clip. Many different dark values then land on the same output value. Shadow detail turns into flat, muddy patches.
What BPC does
BPC scales the full tonal range of the source into the full tonal range of the destination. The source black point maps to the destination black point, and the tones in between shift proportionally. Shadow detail is kept, at the cost of a slight overall change in contrast.
How BPC relates to rendering intents
BPC interacts with the rendering intent you chose.
| Intent | BPC behaviour |
|---|---|
| Perceptual | Black point mapping is already built into the conversion. BPC makes little or no difference. |
| Relative colorimetric | BPC is an option. Off clips shadows. On keeps them. |
| Absolute colorimetric | Simulates the paper and its black point exactly. BPC does not apply. |
Relative colorimetric with BPC is the standard recommendation for converting photographs to a print profile. This is the combination used in the Pillow example from earlier in the tutorial:
from PIL import Image, ImageCms
im = Image.open("design_rgb.png").convert("RGB")
srgb = ImageCms.createProfile("sRGB")
press = ImageCms.getOpenProfile("press_profile.icc")
out = ImageCms.profileToProfile(
im,
srgb,
press,
renderingIntent=ImageCms.Intent.RELATIVE_COLORIMETRIC,
outputMode="RGB",
flags=ImageCms.Flags.BLACKPOINTCOMPENSATION,
)
out.save("design_converted.png")Here the flag is BLACKPOINTCOMPENSATION. Leave it out and you get a conversion without BPC.
When to leave BPC off
- Absolute colorimetric proofing. You want the paper's real darkest tone, so do not rescale it.
- Matching a previous conversion. If an earlier step did not use BPC, a mismatch between steps shows up as small shifts in the darks.
- Flat graphics with exact black values. A logo that must stay at a fixed black may shift slightly when BPC rescales the range.
Common errors
- Using BPC in one step and not in another. A soft proof made with BPC and a final conversion made without it will not match. Use the same setting in both.
- Expecting BPC to fix gamut problems. BPC changes only the black end. Saturated colours outside the gamut are handled by the rendering intent.
- Applying it twice. Convert once, with BPC, and then embed the profile. Converting an already converted file with BPC again shifts the tones a second time.
Exercise
You soft proof a photograph with relative colorimetric intent and BPC on. The proof looks good. At export you convert to the same press profile with relative colorimetric intent but BPC off. What difference should you expect between the proof and the converted file, and where will it appear?
Show answer
The converted file will not match the proof in the shadows. Without BPC, tones darker than the press black point clip, so dark detail looks flatter and blockier than it did in the proof. The fix is to use the same BPC setting in both the proof and the conversion.