pub fn requires_cms(from: &PixelDescriptor, to: &PixelDescriptor) -> boolExpand description
True when the (from, to) pair cannot be handled by the built-in
kernels and must dispatch through a color management plugin.
Today this fires when either side’s color_model
is outside the native set (currently just CMYK; future variants —
Lab / XYZ / spot inks — will plug in here). The companion
ConvertError::NeedsCms is what entry points return when this is
true and no cms was passed.
Useful to schedulers: a caller doing batch encode/decode can probe
requires_cms once per source/target pair and decide whether to
attach a CMS plugin (e.g. &MoxCms) for that batch.