mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
Wind, Extrude and Tiles applied as smart filters were dropped from PSD saves with a warning, and the same filters in a Photoshop PSD opened only as verbatim, uneditable entries. smart_map.rs now maps them both ways in filterFX: - Wind (`Wnd `, filterID 1466852384): `WndM` enum (`Wnd `/`Blst`/`Stgr`) <-> method; `Drct` enum: `Left` <-> fromRight (streaks extend to the left), `Rght` <-> fromLeft. - Extrude (`Extr`, 1165522034): `ExtT` enum (`Blks`/`Pyrm`) <-> type, `ExtS`/`ExtD` long <-> size/depth, `ExtR` enum (`Rndm`/`LvlB`) <-> depthMode, `ExtF`/`ExtM` bool <-> solidFrontFaces/maskIncompleteBlocks. - Tiles (`Tls `, 1416393504): `TlNm`/`TlOf` long <-> count/maxOffset, `FlCl` enum (`FlBc`/`FlFr`/`FlIn`/`FlSm`) <-> fill; the entry's `FrgC`/`BckC` <-> foreground/background. Our random seed has no PSD key and is not written. Missing keys, wrong value types, out-of-range numbers and unknown enum values keep the entry verbatim; params with no PSD equivalent are reported, never guessed. Measured in Photoshop: applied through Action Manager to a smart object, saved, filterFX read back; each code also checked on a test image (pixels compared). Scorecard FILE-215-2 note and file-format parity updated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>