% July 1992 %
% %
% %
-% Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
break;
}
}
- if (pixel.colorspace == LabColorspace)
+ if (image->colorspace == LabColorspace)
{
- pixel.green+=(range+1)/2.0;
- pixel.blue+=(range+1)/2.0;
+ green+=(range+1)/2.0;
+ blue+=(range+1)/2.0;
}
pixel.red=ScaleAnyToQuantum((QuantumAny) (red+0.5),range);
pixel.green=ScaleAnyToQuantum((QuantumAny) (green+0.5),range);