PngOutput
Defined in: src/types/index.ts:952
PNG image output
Properties
Section titled “Properties”buffer
Section titled “buffer”buffer: Buffer;Defined in: src/types/index.ts:954
PNG image data as a Buffer
height
Section titled “height”height: number;Defined in: src/types/index.ts:957
Height of the image in pixels
metadata
Section titled “metadata”metadata: object;Defined in: src/types/index.ts:960
Metadata about the generated image
format
Section titled “format”format: "png";Image format (always ‘png’)
width: number;Defined in: src/types/index.ts:966
Width of the image in pixels