Ignore sequentialRead option for stats #3462

This commit is contained in:
Lovell Fuller
2022-11-20 21:30:45 +00:00
parent 01ffa80338
commit a472aea025
3 changed files with 9 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ Napi::Value stats(const Napi::CallbackInfo& info) {
// Input
baton->input = sharp::CreateInputDescriptor(options.Get("input").As<Napi::Object>());
baton->input->access = VIPS_ACCESS_RANDOM;
// Function to notify of libvips warnings
Napi::Function debuglog = options.Get("debuglog").As<Napi::Function>();