mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Surface::convert / try_convert and map_color converted tile by coordinate, and the ICC path (color_cmds::convert_surface) staged and converted every coordinate's tile. A tile shared across the grid, such as a filled background (one Arc for all of it), therefore came out as one fresh tile per coordinate: a white 2048×1024 background went from 1 to 32 tile allocations, a 24 MP one to 384. Each distinct tile is now converted once and the result shared by every coordinate that shared the original. Pixels are unchanged; tests compare against a per-pixel conversion and check the sharing for convert, try_convert, map_color and Image › Mode › CMYK. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Brandon Thomas <[email protected]>