Skip to content

zeropdf v1.3.0


zeropdf / TemplateImageBlock

Interface: TemplateImageBlock

Defined in: src/types.ts:1588

Template block for rendering a PNG, JPEG, BMP, JBIG2, TIFF, or JPEG2000 image.

Properties

PropertyTypeDescriptionDefined in
class?string | readonly string[]Stylesheet class name(s) applied beneath inline options.src/types.ts:1596
dataBinaryDataBinary data for the image, font, PDF, or attachment.src/types.ts:1592
keepWithNext?booleanWhether this block should stay on the same page as the following block when possible.src/types.ts:1598
options?FlowImageOptionsOptions that control this item.src/types.ts:1594
type"png" | "jpeg" | "bmp" | "jbig2" | "tiff" | "jp2" | "webp" | "gif" | "svg"Discriminator identifying this option or command shape.src/types.ts:1590

Released under the ISC license.