Skip to content

Commit

Permalink
Remove observer angle from LABToRGB
Browse files Browse the repository at this point in the history
  • Loading branch information
slackydev committed Mar 15, 2024
1 parent 959f99b commit 24dc920
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/colormath/simba.colormath_conversion.pas
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ class function TSimbaColorConversion.LABToXYZ(const LAB: TColorLAB): TColorXYZ;
if (vZ3 > 0.008856) then vZ := vZ3
else vZ := (vZ - 16 / 116) / 7.787;

Result.X := vX * 95.470;
Result.Y := vY * 100.000;
Result.Z := vZ * 108.883;
Result.X := vX * 100.0;
Result.Y := vY * 100.0;
Result.Z := vZ * 100.0;
end;

class function TSimbaColorConversion.LABToRGB(const LAB: TColorLAB): TColorRGB;
Expand Down

0 comments on commit 24dc920

Please sign in to comment.