ImagesToPdfOptions
Defined in: packages/sdk/src/builder.ts:1252
How imagesToPdf lays its images out, and the new document’s options.
0.3.0
Extends
Section titled “Extends”Omit<BuilderOptions,"text">
Properties
Section titled “Properties”compress?
Section titled “compress?”compress?: boolean;Defined in: packages/wasm/dist/lamina_pdf_text.d.ts:6025
Flate-compress content streams (default true).
Inherited from
Section titled “Inherited from”Omit.compress
creationDate?
Section titled “creationDate?”creationDate?: string;Defined in: packages/wasm/dist/lamina_pdf_text.d.ts:6021
/CreationDate, a PDF date (D:20261030120000Z).
Inherited from
Section titled “Inherited from”Omit.creationDate
defaultDpi?
Section titled “defaultDpi?”readonly defaultDpi?: number;Defined in: packages/sdk/src/builder.ts:1262
The resolution of an image whose file gives none, in dots per inch (default 72).
readonly fit?: | PageSizeName | readonly [number, number];Defined in: packages/sdk/src/builder.ts:1258
Each page this size, turned the image’s way (landscape for an image wider than it is tall), the image fitted inside the margins and centred. Default: each page is its image’s size at the image’s resolution.
readonly id?: string | Uint8Array<ArrayBufferLike>;Defined in: packages/sdk/src/builder.ts:84
/ID[0]: 16 bytes, as 32 hex digits or a Uint8Array (default: derived from the content).
Inherited from
Section titled “Inherited from”Omit.id
margin?
Section titled “margin?”readonly margin?: number;Defined in: packages/sdk/src/builder.ts:1260
The space around each image, in points (default 0).
producer?
Section titled “producer?”producer?: string;Defined in: packages/wasm/dist/lamina_pdf_text.d.ts:6017
/Producer.
Inherited from
Section titled “Inherited from”Omit.producer
profiles?
Section titled “profiles?”profiles?: ProfileInit[];Defined in: packages/wasm/dist/lamina_pdf_text.d.ts:6035
Conformance profiles: PDF/UA-1 with at most one PDF/A profile. finish then fails
with a coded error for each machine-checkable rule the document breaks.
Inherited from
Section titled “Inherited from”Omit.profiles
tagged?
Section titled “tagged?”tagged?: boolean;Defined in: packages/wasm/dist/lamina_pdf_text.d.ts:6030
A tagged document (structure tree, /MarkInfo) even before any element (default
false; a page using beginTag or beginArtifact makes it tagged either way).
Inherited from
Section titled “Inherited from”Omit.tagged
version?
Section titled “version?”version?: PdfVersionInit;Defined in: packages/wasm/dist/lamina_pdf_text.d.ts:6009
The header version (default 1.7).
Inherited from
Section titled “Inherited from”Omit.version