mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 14:16:49 -06:00
Placing a file that the document already holds reuses its asset (same bytes, type and PDF page), in file.place, place.load, media and poster placement, graphic table cells, math, data merge image fields, IDML import (a linked file is read once) and paste/duplicate between documents (which also maps ids that collide in the target). Saving merges identical assets into the first and leaves out assets nothing references; the open document keeps them for undo. Opening a file saved with one copy per placement shares the identical bytes as they are read and merges the assets. Package and Copy Links write only used files, and links.list lists only used assets. Refs #391