Images
A 240x80 source image, rendered at its native size:
The same 3:1 source, with only widthPx: 360 specified - height (120) is derived from its aspect ratio:
A tall 80x160 (1:2) source, with only heightPx: 200 specified - width (100) is derived from its aspect ratio:
AddImageFromBase64 accepts a full data: URI or a bare base64 payload:
AddImage(filePath, ...) reads straight from disk - handy for a logo or other static asset shipped alongside the report
Images
generator. This 512x512 source keeps its 1:1 aspect ratio with only widthPx given: