Wolfgang, Correction below: autowhite should really be autocolor >I was thinking of my autowhite script that uses -contrast-stretch >and allows the user to set the clip percentages, and the neutral >gray value used in the gamma can be different from 0.5. > >You might want to look at that script. Fred