Ensure use of flip op forces random access read #3600

This commit is contained in:
Lovell Fuller 2023-03-31 09:04:22 +01:00
parent d5be024bfd
commit 97cf69c26a
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,11 @@
Requires libvips v8.14.2
### v0.32.1 - TBD
* Ensure use of `flip` operation forces random access read (regression in 0.32.0).
[#3600](https://github.com/lovell/sharp/issues/3600)
### v0.32.0 - 24th March 2023
* Default to using sequential rather than random access read where possible.

View File

@ -1662,6 +1662,7 @@ Napi::Value pipeline(const Napi::CallbackInfo& info) {
baton->rotationAngle != 0.0 ||
baton->tileAngle != 0 ||
baton->useExifOrientation ||
baton->flip ||
baton->claheWidth != 0 ||
!baton->affineMatrix.empty()
) {