I'm not quite understanding the delay to fix this one. It's more of a wording problem than something to do with the internals. IMO, it should work like this:ImageMagick v6 Usage Guide wrote:The way IMv6 handles 'sRGB' colorspace is actually reversed. That is to say specifying "-colorspace sRGB" converts a image from sRGB to RGB, and visa-versa. That is "-colorspace sRGB" actually converts an image from sRGB to linear RGB colorspace.
This was the result of IM choosing RGB as its internal default, rather that the network default of sRGB.
This colorspace handling weirdness is considered a bug, and is one aspect that will be fixed as part of the planned IMv7 development. However it will not be fixed in IMv6.
- -colorspace sRGB - Converts to sRGB
- -colorspace oRGB - Converts to (original vanilla) RGB
- -colorspace RGB - Is an alias of sRGB
Oh, and while we're talking about colorspaces, can you add LMS? This one is pretty useful for human perception, and Wikipedia has a quick matrix on converting from XYZ to LMS.