0.1.1 • Published 11 years ago
plan-thumbnail v0.1.1
See node-plan.
Backend is node-imagemagick.
input
tempPath
- image to generate a thumbnail formakeTemp
- a function which generates a tempfile and accepts a suffix
output
tempPath
- path to the generated thumbnail
options
format
- what format to save in, such as 'jpg'. defaults to 'png'.quality
- between 0 and 1. only applies for some formats.progressive
- booleanwidth
- width of thumbnailheight
- height of thumbnailstrip
- booleanfilter
sharpening
gravity
- one of 'NorthWest', 'North', 'NorthEeast', 'West', 'Center', 'East', 'SouthWest', 'South', 'SouthEast'crop
- boolean
exports
bucket
- copied directly from options