On Thu, Mar 26, 2009 at 6:01 PM, Pascal de Bruijn <pmjdebruijn@xxxxxxxxx> wrote: > On Thu, Mar 26, 2009 at 2:22 PM, Graeme Gill <graeme@xxxxxxxxxxxxx> wrote: > > >>> Not exactly, preferably to RGB... Not all image editor can handle Lab. >>> >>> And I'd like to read back the RGB, to generate a newly (edited), >>> reference file... >> >> I thought that's what I outlined last time. > > I'm probably confusing terminology, which in turn is confusing you :) > > The point of the exercise would be to read back the edited image, > as a new similar (but edited) reference file. > > 1. Convert R080505.txt into an image of an IT8 chart, with the patch colors > generated from the text file. I just had to play with this. Do you mean something like this: sed -n '17,304p' R080505.txt |awk '{print "convert -colorspace LAB -size 118x94 \"xc:LAB("$5"%,"$6"%,"$7"%)\" " $1".png\n"}' > run.sh Then you have to join them. I think there is a hint for that in the url posted above. I have to play with the kids now.. Regards Lars Tore