Image
Local images with required alt text and optional captions.
Local images with required alt text and optional captions.
pdf-image places a local file at full width, with its description as alt text and an optional caption below in small muted type. Images are passed as bytes under assets/ with the render call, as PNG, JPEG or SVG; nothing is fetched remotely, and an SVG with scripts, foreignObject or external links is refused. No template includes one by default, and the brand logo follows the same asset rules and needs logoAlt.