Ensure image >= 3x3 before attempting trim operation

See https://github.com/libvips/libvips/issues/1392
This commit is contained in:
Lovell Fuller
2019-08-13 21:34:36 +01:00
parent 23b2e541ab
commit 3fa91bb4ce
3 changed files with 26 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ Requires libvips v8.8.1.
[#1834](https://github.com/lovell/sharp/pull/1834)
[@jaubourg](https://github.com/jaubourg)
* Ensure image is at least 3x3 pixels before attempting trim operation.
#### v0.23.0 - 29<sup>th</sup> July 2019
* Remove `overlayWith` previously deprecated in v0.22.0.