OptionalcontentBuffer content of the image. Including the content can make the object heavy.
OptionaldocumentThe name of the pdf document (if not a buffer).
OptionalnameThe name of the image (if rendered).
The page number. Starts at 1.
OptionalpathPath where the image has been rendered.
Type of the image. PNG or JPEG.
The
convert()method will return an array ofImagePageOutput.