Ensure clahe op uses random read, simplify validation

This commit is contained in:
Lovell Fuller
2023-02-28 21:59:31 +00:00
parent 6c61ad256f
commit 0063df4d4f
3 changed files with 26 additions and 26 deletions

View File

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