Now, it is fairly well established that downsampling (reducing the pixel size of an image, that is, "shrinking it" as in producing thumbnails) should be done through linear light. For sRGB images, the obvious candidate is linear RGB.
However, XYZ is a linear light space with a good luminance channel (Y). This suggests that
Code: Select all
convert (input image) -colorspace XYZ (resize command) -colorspace sRGB (output image)
Has anyone compared?