Here are my exact steps:
- Open an sRGB or AdobeRGB image in Photoshop
- Convert to a linear(gamma 1.0) RGB color space
- Convert back to sRGB or AdobeRGB
At this point the image looks the same as from the start as expected. At step 2 however shadows look significantly darker. It's not possible use level adjustments with confience as the image with look different by step 3. I repeat the same steps in this GIMP build http://www.partha.com/downloads/Gimp-2.9.3-color-patched-64bit-portable.exe and unlike in Photoshop I tonal consistency in step 2. What's going on here?
1. In Photoshop, do your Color Settings look like this:
The Working Space can be what you like, but the Color Management Policies should all be "Preserve..." I also prefer all the "Ask..." options checked, so I know when anything is converted. The important thing: to make sure PS preserves the colour space or converts colour space when necessary, and doesn't assign a profile or ignore colour management.
2. Can you say what you do when you "Convert to a linear(gamma 1.0) RGB color space"? I mean: describe what operations do you do in PS?
3. Again, please describe the steps you take to convert back.
Converting from one colour space to another, whether with linear TRC or some gamma curve, the end result should be the same - provided you use enough bit depth. Converting to linear and back in 8 bits might leave a bit of posterisation in the blacks, as linear encoding in 8-bits doesn't have enough precision (to match human perception) at the black end.
Of course, if you convert to a colour space whose gamut isn't large enough to contain all the colours in the image, then you get some clipped colours (and some in-gamut colours might change, depending on rendering intent).
I don't know enough about GIMP to comment on what happens with GIMP.