The opt-in sRGB option added as the fix for #2265 is missing from
wire/modules/Image/ImageSizerEngineIMagick/API.md, and the "Color management"
note there now contradicts the code.
- Option read in
ImageSizerEngineIMagick.module line 301 (!empty($this->options['sRGB']),
wide-gamut ICC → sRGB before the profile strip).
- Fix commit
2060f1c (2026-07-08) only changed the .module file and added sRGB2014.icc;
API.md (49f30bc, one day earlier) was not updated. Current dev API.md: 0 matches for sRGB.
- API.md lines 186–188 say "By default, non-ICC metadata is removed", but lines 321–324
strip the ICC profile as well.
Suggested fix: add an sRGB row to the Properties table (bool, default false,
"convert Display P3 / Adobe RGB ICC profiles to sRGB before stripping; requires the IMagick
LCMS delegate, otherwise logged and skipped") and correct the color-management note.
Related: #2265
The opt-in
sRGBoption added as the fix for #2265 is missing fromwire/modules/Image/ImageSizerEngineIMagick/API.md, and the "Color management"note there now contradicts the code.
ImageSizerEngineIMagick.moduleline 301 (!empty($this->options['sRGB']),wide-gamut ICC → sRGB before the profile strip).
2060f1c(2026-07-08) only changed the.modulefile and addedsRGB2014.icc;API.md (
49f30bc, one day earlier) was not updated. Current dev API.md: 0 matches forsRGB.strip the ICC profile as well.
Suggested fix: add an
sRGBrow to the Properties table (bool, defaultfalse,"convert Display P3 / Adobe RGB ICC profiles to sRGB before stripping; requires the IMagick
LCMS delegate, otherwise logged and skipped") and correct the color-management note.
Related: #2265