mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-27 19:36:56 -06: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 <97598943+abdul-karim-mia@users.noreply.github.com> Co-authored-by: Fabio Lissi <fabio.lissi@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>