Skip to Content

Profiles Aren’t Interchangable Even When They Describe the Same Colorspace

Two different profiles that describe the same colorspace may have subtle differences (see There Is No Single sRGB Color Profile), and swapping one for another isn’t a valid operation.

This is technically true.

However, unless you’re working in an environment where the highlest level of precision matters, there may be reasons to replace a profile with another. See Use Compact Color Profiles to Reduce Image Size.

Note that occasionally you get a profile that nominally describes a particular colorspace but doesn’t do so in a way that’s consistent with others. These profiles are technically not “broken” in that they describe a colorspace, and the image may have been produced with this colorspace in mind.

libpng Broken Profiles (external link)
Bugzilla discussion about this code (external link)