Prevent crop when at or below target dimensions #1134

This commit is contained in:
Lovell Fuller
2018-02-23 10:31:11 +00:00
parent 8b80626035
commit 5ab6f599fb
3 changed files with 26 additions and 1 deletions

View File

@@ -14,6 +14,10 @@ Requires libvips v8.6.1.
[#1121](https://github.com/lovell/sharp/pull/1121)
[@BiancoA](https://github.com/BiancoA)
* Prevent crop operation when image already at or below target dimensions.
[#1134](https://github.com/lovell/sharp/issues/1134)
[@pieh](https://github.com/pieh)
#### v0.19.0 - 11<sup>th</sup> January 2018
* Expose offset coordinates of strategy-based crop.