FIX #60: wrong gamma applied if image is not sRGB from origin.