mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
- CMYK: the light the inks let through is brightened once and re-encoded. C, M and Y thin out while they can carry it, and K thins out as far as the brightest light needs, so a grey printed in K alone brightens too. Where C, M and Y can carry it, the result is as before. - Lab: the estimate reads one channel, L as sRGB-encoded luminance, and the correction brightens that light and turns it back into L. a and b grow with (L* + 16), as they do when the light itself is brighter, so a neutral pixel stays neutral instead of taking a cast. New tests: shifted_vignetted_cmyk_layers_in_black_ink_alone_come_out_flatter_with_their_corners_brightened, shifted_vignetted_lab_layers_come_out_flatter_without_a_colour_cast. Both fail without the change.