mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 21:11:52 +00:00
A template's <image href="…"> without inline data is now found in the catalog's /Names /XFAImages tree, keyed by the URI the template writes (XFA 3.3 pp. 257-258, "Storing Images Inside PDF"). Only that tree is looked in; a link is never followed outside the file. The tree walk is bounded (depth, nodes, names, a seen-set), and so are the bytes read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCfwzyRXj4VfQAVVdv