Skip to content

Commit ebc2a74

Browse files
committed
Ensure accessMethod is applied during shrink-on-load
1 parent d46512a commit ebc2a74

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pipeline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ class PipelineWorker : public Nan::AsyncWorker {
250250
if (shrink_on_load > 1) {
251251
// Reload input using shrink-on-load
252252
vips::VOption *option = VImage::option()
253+
->set("access", baton->accessMethod)
253254
->set("shrink", shrink_on_load)
254255
->set("fail", baton->input->failOnError);
255256
if (baton->input->buffer != nullptr) {

0 commit comments

Comments
 (0)