Skip to content

v2.1.0

Compare
Choose a tag to compare
@Starefossen Starefossen released this 27 Jul 21:58
· 14 commits to master since this release

New Features:

  • Add support for forced aspect ratio orientation (6a83908)

By default #crop() will match the orientation of the original image unless a forced orientation is given on the follwing format: x:y!z where z is the orientation (v for vertical, or h for horizontal).

var crop = aspect.crop(2048, 768, '4:3!v');