mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
Mezzotint and Color Halftone applied as smart filters were dropped from PSD saves with a warning, and the same filters in a Photoshop PSD opened as unsupported (verbatim) smart filters. smart_map.rs now maps them both ways: - Mezzotint: filterID/class `Mztn`, `MztT` enum (FnDt, MdmD, GrnD, CrsD, ShrL, MdmL, LngL, ShSt, MdmS, LngS) <-> `type` (fineDots .. longStrokes). PhotoCraft's `seed` has no Photoshop equivalent and is not saved. - Color Halftone: filterID/class `ClrH`, `Rds ` and `Ang1`-`Ang4` longs <-> `maxRadius`, `channel1`-`channel4`, written within the dialog ranges (4..127, -360..360). Unknown enum codes, wrong value types and out-of-range values are kept verbatim as unsupported filters, never a panic. Measured in Photoshop: applied through Action Manager to a smart object, saved, filterFX read back; codes confirmed by rendering each option. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>