Sub topic 9
Black point compensation
This chapter covers what black point compensation (BPC) does during a conversion, when to switch it on or off, and how to confirm its effect. It assumes you know the four rendering intents from the previous chapter and can run short Python scripts. For the script you need Pillow, plus a CMYK press profile saved as press_profile.icc.
The problem BPC solves
Every device has a darkest black it can produce. An sRGB display can switch pixels off and get close to zero light. A press printing on coated paper reaches a dark, but not very dark, black. On uncoated stock the darkest black is a dark grey. The darkest colour a device can produce is its black point.
When you convert from a source with a deep black to a destination with a shallower one, the source has shadow values that the destination cannot reproduce. Relative colorimetric conversion handles this by clipping. Every source colour darker than the destination black point lands on the destination black point. In a photograph, the darkest tones then merge into one flat dark patch and shadow detail disappears.
What BPC does
BPC changes the conversion so that the source black point maps exactly to the destination black point. The tones between black and white are then scaled to fit the reduced range. The scaling is linear and is applied in the profile connection space, using the XYZ values of the two black points.
- Source black becomes destination black. Nothing is clipped at the dark end.
- Shadows are lifted slightly and the tonal steps stay distinct.
- Paper white is unaffected. Relative colorimetric already maps the source white to the destination white.
- Every colour in between shifts a little, because the whole range is rescaled.
Which intents it affects
BPC is a setting on a relative colorimetric conversion. The other intents treat it differently.
| Rendering intent | Role of BPC |
|---|---|
| Relative colorimetric | The main use. Off clips shadows. On preserves them. |
| Perceptual | Perceptual tables normally already handle black. Many applications and profiles compress the black point as part of the intent. Behaviour depends on the profile and the CMM. |
| Saturation | Rarely used for photographs. BPC is not normally the deciding factor. |
| Absolute colorimetric | Not applied. The intent keeps the source's absolute black and paper colour. |
For photographic work, relative colorimetric with BPC is the usual default for RGB to CMYK. Perceptual is the alternative when many colours are out of gamut. Photoshop's default colour settings turn BPC on, and so do most other design applications.
Seeing the effect in code
This script converts a grey ramp from sRGB to the press profile twice, once with BPC and once without. It prints the CMYK values at the dark end.
from PIL import Image, ImageCms
ramp = Image.new("RGB", (256, 1))
ramp.putdata([(v, v, v) for v in range(256)])
srgb = ImageCms.createProfile("sRGB")
press = ImageCms.getOpenProfile("press_profile.icc")
def convert(flags):
return ImageCms.profileToProfile(
ramp,
srgb,
press,
renderingIntent=ImageCms.Intent.RELATIVE_COLORIMETRIC,
outputMode="CMYK",
flags=flags,
)
without_bpc = convert(ImageCms.Flags.NONE)
with_bpc = convert(ImageCms.Flags.BLACKPOINTCOMPENSATION)
print("sRGB grey | no BPC (C, M, Y, K) | BPC (C, M, Y, K)")
for v in (0, 2, 4, 8, 16, 32):
print(v, without_bpc.getpixel((v, 0)), with_bpc.getpixel((v, 0)))Pillow reports CMYK channels as 0 to 255, where 255 is full ink. Without BPC, the first several grey levels typically return identical or nearly identical values, because they are all clipped to the press black. With BPC, the same levels return distinct values that rise smoothly. The exact numbers depend on your profile. A profile with a very dark black shows a smaller difference than one for uncoated paper.
When BPC helps and when it hurts
BPC is most useful when the destination black is clearly lighter than the source black. The standard case is a photograph in an RGB working space converted to a coated or uncoated press profile. The effect grows as the paper gets rougher and the black gets lighter.
Turn it off, or expect little difference, in these cases:
- Source and destination have nearly the same black point, for example a conversion from sRGB to Adobe RGB. BPC then changes almost nothing.
- You use absolute colorimetric to simulate one paper on another. Here you want the source black preserved as it is.
- You are building a proof that deliberately shows the printed black as darker or lighter than the display black. The next chapters cover how proof settings interact with BPC.
BPC also has one real cost. Because it rescales the whole range, mid-tones move slightly from where an uncompensated conversion would put them. On flat vector artwork with specific brand colours, a very small shift can be unwanted. Check the converted values of critical colours when exact numbers matter.
Common errors
- Treating BPC as a rendering intent. It is a conversion option, not a fifth intent. It changes how relative colorimetric treats the dark end.
- Clipped shadows after conversion. If shadows look blocked up in the CMYK file but fine in RGB, check whether BPC was off during conversion.
- Double compensation. Converting RGB to CMYK with BPC, then converting that CMYK file to another CMYK profile with BPC, compensates each step. Keep the number of conversions small, and convert once from the original source.
- Expecting BPC to fix gamut problems. It affects only the dark end. Saturated colours outside the gamut still need the intent to handle them.
- Comparing results from different applications. Applications and CMMs implement BPC with small differences. Compare outputs from the same tool, or check against a known test image.
Exercise
Exercise
You convert a shadow-heavy RGB photograph to a coated press profile using relative colorimetric intent with black point compensation off. The shadows look flat and blocked up. What do you change, and why does it help?
Show answer
Turn black point compensation on and convert again from the original RGB file. BPC maps the source black point to the press black point and scales the tones in between, so dark tones that were clipped to the press black stay distinct. Use the same setting in the soft proof so the preview matches the result.
Exercise
A colleague says that BPC will keep the printed black exactly as dark as the display black. Is that correct?
Show answer
No. BPC maps the source black to the destination black, so the press black stays as dark as the press can reproduce. It does not make the printed black as dark as the display. It prevents the dark tones from being clipped on the way to that lighter black.