mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-24 11:10:45 +01:00
1d0e27db323feab75968f0703047e81646ceb7ae
The byte order flag applies to object data only: database pages stay little-endian. Object data is decoded in the file's byte order, and in big-endian data the string tag and the flag byte before it are swapped. The two big-endian samples are also the only files from before InDesign 7.0, and some of their layouts differ: page transform and bounds chunks, font records, XML tag names and nodes, story strands and 40-byte guide records are read; text frame settings, document preferences, a composite font and a section style are left out with a warning. The 40-byte guides of an InDesign 7.0 file are now read too. docs/format/big-endian.md records the evidence. The corpus tests now cover all byte orders.
indd-utils
Reads INDD files, the native document format of Adobe® InDesign®, without InDesign. The goal is conversion to IDML, with other outputs (text, JSON, metadata) to follow.
Adobe and InDesign are trademarks of Adobe Inc. This project is not affiliated with or endorsed by Adobe.
Status
Early. The file header (signature, byte order, InDesign version) is decoded. Nothing else is yet.
Use
cargo install --git https://github.com/aiongg/indd-utils
indd info file.indd
Development
cargo testruns unit tests and smoke tests on the open-licensed samples intests/fixtures/.- Tests in
tests/corpus.rsalso run over a localcorpus/directory of sample files if one exists. That directory is git-ignored. python3 -I tools/inventory.py corpus/lists each sample's InDesign version and whether it has a matching IDML file.- Format findings go in
docs/format/. ReadCLEANROOM.mdbefore contributing.
Licence
MIT. Sample files in tests/fixtures/ keep their own licences; see the
README there.
Description
Read INDD files without InDesign; convert to IDML
4.7 MiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
83.8%
Python
15.6%
Shell
0.6%