Skip to content

0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 23:55

Breaking

  • These ImageAdjustmentRenderer members are no longer public: whiteBalance(neutralizing:), neutralEstimate(of:), autoWhiteBalance(for:), autoAdjustments(for:) and whiteBalanceSampleSize.
  • Adjustment sections decode strictly. SelectiveColor.Shift and BlackAndWhite use the compiler-generated decoder, and ImageToneCurves requires all four channels, so a missing key fails to decode instead of taking a default. Values stored before 0.7.0's Range and Black & White changes no longer load. The encoded form is unchanged.

Other

  • ImageAdjustmentRenderer.apply runs its steps from RenderStep's case order, each step its own internal type holding its Core Image call, curve and constants. Rendered output is unchanged; graph construction cost differs by under 0.3%.
  • The color cube cache is keyed by the transform's own inputs rather than a flattened parameter list.
  • The Levels and Curves histogram inputs are derived from the same step order the renderer uses.
  • Each adjustment section has its own file and its own clamp, with a test that every section is clamped by init.
  • White-balance and Auto analysis, the slider tracks and file writing move out of the renderer into internal types.