Allow rotate before pre-resize extraction #145

This commit is contained in:
Lovell Fuller
2015-01-04 19:29:37 +00:00
parent a190ae6b08
commit 5dab3c8482
5 changed files with 57 additions and 14 deletions

View File

@@ -315,6 +315,8 @@ Rotate the output image by either an explicit angle or auto-orient based on the
Use this method without `angle` to determine the angle from EXIF data. Mirroring is supported and may infer the use of a `flip` operation.
Method order is important when both rotating and extracting regions, for example `rotate(x).extract(y)` will produce a different result to `extract(y).rotate(x)`.
#### flip()
Flip the image about the vertical Y axis. This always occurs after rotation, if any.