StretchTransformation

StretchTransformation

new StretchTransformation(options)

The StretchTransformation class.
Parameters:
Name Type Description
options object The stretch transformation options
Properties
Name Type Description
width number The width to stretch
height number The height to stretch

Extends

Methods

process(source, target, cb)

Transforms to target
Parameters:
Name Type Description
source string The source file path
target string The target file path
cb ImageTransformation~processCallback The callback function
Overrides: