new CropTransformation(options)
The CropTransformation class.
Parameters:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | The crop transformation options
Properties
|
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: