Also support "tiff".
Correctly rescale images in linear color space.