B. Bogart wrote:
The reason behind outputting the colourspace would have been so that a patch could read YUV or RGB images and the patch could worry about switching
well, this would work anyhow: [pix_info] should give you information about the colourspace of the image and you could do something according to it.
mfg.as.dr IOhannes