mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-28 18:22:06 +01:00
A new filter that removes a chosen colour by unmixing it into transparency, as GIMP's and Krita's Color to Alpha do: per pixel the most transparent opacity that keeps the unmixed colour in range, shaped by transparency and opacity thresholds. It runs through run_filter (selection, smart filters, Last Filter, one history step), floats the Background first and refuses a transparency-locked layer; the filter dialog gains a colour parameter. Fixes #1576. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>