Commit Graph
26 Commits
Author SHA1 Message Date
FredApps 851642f6ec Merge pull request #3921 from FredApps/fix/786-psd-tagged-descriptor-adapter
psd: share recovering descriptor-block headers
2026-11-19 04:29:05 +07:00
FredApps f3ba7a5cd2 psd: share recovering descriptor-block headers 2026-11-18 20:38:43 +01:00
FredApps 9a58ca6bd3 Merge main preserving scalar and section regression modules 2026-11-18 20:29:34 +01:00
FredApps f9e81b8a0f Merge pull request #3907 from FredApps/fix/786-psd-tysh-adapter
psd: share bounded TySh text-prefix reading
2026-11-19 02:14:16 +07:00
FredApps c6017db502 Merge vector cutover and pin combined shared PSD readers 2026-11-18 19:33:43 +01:00
FredApps 5ff845951c Merge vector cutover and pin combined shared PSD readers 2026-11-18 19:33:39 +01:00
FredApps 5f621b3f69 Merge remote-tracking branch 'origin/main' into fix/786-psd-scalar-blocks 2026-11-18 19:31:24 +01:00
FredApps 57ae4ceeff psd: read scalar layer blocks through shared views 2026-11-18 19:31:24 +01:00
FredApps 450d21647c Merge main preserving Unicode and vector regression modules 2026-11-18 18:34:41 +01:00
FredApps e97a6390ac psd: share bounded type-layer text prefix 2026-11-18 17:42:55 +01:00
FredApps d0693d9dcb psd: share recovering section-divider framing 2026-11-18 16:39:11 +01:00
FredApps 1d823a01a1 psd: share fixed-binary adjustment readers 2026-11-18 15:12:01 +01:00
FredApps 67e6e27fa7 psd: share Unicode layer-name record framing 2026-11-18 14:27:17 +01:00
FredApps c149bb513f psd: read vector mask records through craft-psd 2026-11-18 13:19:34 +01:00
FredApps 49170cdf18 fix(psd): surface unsupported modern placements at import boundary 2026-11-18 09:43:01 +01:00
FredApps cc5c5cb732 #3779: integrate reviewed shared PSD adapters with current main 2026-11-18 04:13:58 +01:00
FredApps 3bc3adb4e0 psd: parse descriptors and placed layers with craft-psd
Pin only craft-psd to craft-libs main 9fc471fc (includes #1887
parse_prefix and #1885 PackBits recovery). Mid-stream descriptor
reads use Descriptor::parse_prefix, mapped back to the public
effectcraft Descriptor/DValue types. SoLd/SoLE/PlLd placements come
from craft_psd::smart::SmartObject, including quiltWarp, and
render_placed bakes through craft_psd::FloatImage.

Pixel decode stays local until a follow-up can check unmatte parity
on composite_f32.
2026-11-16 16:15:25 +01:00
FredApps ed8811d2d8 psd: parse linked files with craft-psd and pin past #1845
Repin only craft-psd to craft-libs main e836b6fd (includes #1845).
lnk2 / lnkD / lnk3 / lnkE records come from craft_psd::smart::linked_files;
payload ranges are shifted from the block back into the document bytes.
is_linked_layer_key is the deferral predicate.

Descriptors, placed objects, and pixel decode stay local until
craft-libs#1887 (parse_prefix) and #1885 (PackBits recovery) are on main.
2026-11-16 14:55:09 +01:00
FredApps 7f9f0bc489 psd: record stray leading bytes before the layer block check, use craft-psd's long-length keys 2026-11-16 12:31:10 +01:00
FredApps e9690b2c02 psd: walk top-level global blocks for the layer block repair 2026-11-16 12:17:28 +01:00
FredApps e51a805f4e psd: recover layers from a length-prefixed or fallback Lr16/Lr32 block 2026-11-16 12:04:22 +01:00
FredApps 59671cfd29 psd: keep layers past a damaged resource, report an unreadable Lr16 block 2026-11-16 11:41:54 +01:00
FredApps 1cc80e7443 psd: read the document structure with craft_psd
Psd::parse reads the header, colour mode data, layer records with their
additional information and the global blocks with
craft_psd::PsdFile::from_source. Channel data and the merged image stay in
the document as ranges, and the linked-file blocks are left in the source.
A damaged layer section still opens as the merged image. The local 8BPS
section, record and block walkers are removed (storytold/craft-libs#786).
2026-11-16 11:33:33 +01:00
Dylan M. Taylor fd1df348c0 Formats: move EffectCraft format codecs to craft-libs 2026-11-12 05:33:48 +00:00
Dylan M. Taylor 388ebc10ac Refactor psd for strict Clippy checks 2026-10-28 06:09:21 +00:00
aiongg 5c6375c7ea refactor(psd): move limits, model, parsing and pixel decoding out of lib.rs 2026-10-26 21:49:11 +00:00