Split file-based input errors into missing vs invalid #1542

This commit is contained in:
Lovell Fuller
2019-01-19 11:59:36 +00:00
parent fa69ff773a
commit d5e98bc8ad
5 changed files with 36 additions and 7 deletions

View File

@@ -8,6 +8,9 @@ Requires libvips v8.7.0.
* Input image decoding now fails fast, set `failOnError` to change this behaviour.
* Failed filesystem-based input now separates missing file and invalid format errors.
[#1542](https://github.com/lovell/sharp/issues/1542)
#### v0.21.2 - 13<sup>th</sup> January 2019
* Ensure all metadata is removed from PNG output unless `withMetadata` used.