mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Content-Aware Fill copies the sampling area with a 7x7 patch. On the document #14191 measured, the straight features are 10 px bands and 20 px stripes: a 7x7 patch fits inside one stripe or inside one band gap, so it carries no phase information and the completion decides from colour alone. The blue half of that document ran down into the green one (300,205 gave 65,127,205 where the reference application shows 80,180,90) and the light band was not continued at all (300,165 gave 64,124,201 instead of 120,170,230). The fill now works the option set #14191 measured out with an 11x11 patch, which covers a feature and the one next to it and keeps their phase through the hole: all nine measured samples land within 4 levels of the reference values (the issue asks for 12), and every one of the 10000 hole pixels carries the document's own colour within 12 levels. High and Very High colour adaptation, the rotation levels, Scale and Mirror are marked "not measured" in #14191, so they keep the old patch radius; the new tests pin their samples as main gives them today.