I'd like to convert a set of pixel values from one profiled colorspace to another, without these values residing in an image file, such as (say) a list of RGB/RGBA/CMYK/etc data structures.
I have python and PIL at my disposal (but I'm interested in solutions in related environments if that's what it takes).
The latest PIL has very nice support for littlecms -- but no way to hand it anything other than a PIL image (or a legacy pyCMS object) for it to act upon.
as far as I can ascertain, the command-line tool icctrans
that's included with littlecms does something of this sort, but I can't seem to find any non-skeletal documentation on it, and the lcms doc refers to it as a demonstration tool.