Buffer, or a ReadStream. For server configuration and limits, see Gotenberg’s Chromium docs.
Converters (to PDF)
Each
convert() returns a Buffer containing the PDF. Pass page properties (size, margins, landscape, etc.) and options like headers, wait conditions, and PDF encryption.
Screenshots (to PNG/JPEG/WebP)
Each
capture() returns a Buffer (image). Set format, quality, dimensions, and similar options via screenshot options.