mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
Map three more smart filters both ways in filterFX (smart_map.rs): - Surface Blur: filterID 1135 (numeric), Fltr class `surfaceBlur`, `Rds ` UnitFloat #Pxl -> radius, `Thsh` long -> threshold. - Smart Blur: filterID `SmrB`, `Rds ` / `Thsh` doubles, `SmBQ` enum (SBQL/SBQM/SBQH -> low/medium/high), `SmBM` enum (SBMN/SBME/SBMO -> normal/edgeOnly/overlayEdge). - Radial Blur: filterID `RdlB`, `Amnt` long, `BlrM` enum (Spn/Zm -> spin/zoom), `BlrQ` enum (Drft/Gd/Bst -> draft/good/best). Measured in Photoshop: applied through Action Manager to a smart object, saved, filterFX read back. Every measured Fltr descriptor is written back byte for byte (checked against the measured files locally; they are not committed). Entries with missing keys, wrong types, out-of-range or NaN values, unknown enum values or keys we don't model stay verbatim, as does Radial Blur at its defaults (no Fltr stored). An off-centre Radial Blur centre and unknown enum names are reported on save, not guessed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>