Class

ImageCollection

ImageCollection(images)

ImageCollection

Constructor

new ImageCollection(images)

Reprensent a collection of images

Parameters:
Name Type Description
images Array.<Buffer>

View Source puppeteer/image-collection.js, line 12

Methods

asArray() → {Array.<SharpType>}

An array of sharp objects

View Source puppeteer/image-collection.js, line 20

Array.<SharpType>

async verticalJoin() → {Promise.<SharpType>}

Merge the images vertically

View Source puppeteer/image-collection.js, line 28

  • The merged images
Promise.<SharpType>