If all colors are not mapped within the gamut of the output color space, which is determined by the output profile, a gamut mapping is needed to determine how to transform points in the input color space that would otherwise map out of gamut. Some of the things you can do in response to the need for gamut mapping are: change the input data, change profiles, set a flag.