mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
- swatches.import with bytes only (no path or format): an .act whose first colour is 0, 1, x or 0, 2, x still went to the .aco reader, which ignores trailing bytes and returned a handful of junk swatches. At the two .act lengths (768/772) an .aco header now counts only when its sections span the whole file (new `aco::sections_len`); a Photoshop .aco of exactly 768 bytes is still an .aco. Test: act_that_starts_like_an_aco_is_still_an_act. - The .atn corpus tests (psd and engine) skipped unreadable folders and entries silently; they now fail with the path. - act::write doc: the trailer is written when `count` or `transparent` is given. Co-authored-by: Abdul karim mia <[email protected]> Co-authored-by: Fabio Lissi <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>