Add support for mirroring #62

This commit is contained in:
Lovell Fuller
2014-10-21 14:47:08 +01:00
parent f214673c3c
commit db6dc6431b
6 changed files with 167 additions and 24 deletions

View File

@@ -321,7 +321,15 @@ Rotate the output image by either an explicit angle or auto-orient based on the
`angle`, if present, is a Number with a value of `0`, `90`, `180` or `270`.
Use this method without `angle` to determine the angle from EXIF data. Mirroring is currently unsupported.
Use this method without `angle` to determine the angle from EXIF data. Mirroring is supported and may infer the use of a `flip` operation.
#### flip()
Flip the image about the vertical Y axis. This always occurs after rotation, if any.
#### flop()
Flop the image about the horizontal X axis. This always occurs after rotation, if any.
#### withoutEnlargement()