Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Interface PlacedImage

    A picture placed on a page — \includegraphics. y is its top edge, like a rule's, and width/height are the size it was placed at, not its pixel grid.

    The decoded image rides along instead of being fetched at emission time because emission has no file map to fetch from (the engine performs no I/O, D38). path is the file-map key, and pdf/render.ts embeds one XObject per distinct path — so a logo on forty pages is forty of these items and one copy of the bytes.

    interface PlacedImage {
        height: number;
        image: DecodedImage;
        kind: "image";
        path: string;
        width: number;
        x: number;
        y: number;
    }
    Index
    height: number
    kind: "image"
    path: string
    width: number
    x: number
    y: number