From e7381e522ebe738263069eab02cc40f411cb9122 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Thu, 31 Aug 2023 12:09:11 +0100 Subject: [PATCH] Alternative fix for 4340d60, uses existing StaySequential --- src/pipeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline.cc b/src/pipeline.cc index 692870808..74db3f49f 100644 --- a/src/pipeline.cc +++ b/src/pipeline.cc @@ -653,7 +653,7 @@ class PipelineWorker : public Napi::AsyncWorker { if (across != 0 || down != 0) { int left; int top; - compositeImage = compositeImage.copy_memory().replicate(across, down); + compositeImage = sharp::StaySequential(compositeImage, access).replicate(across, down); if (composite->hasOffset) { std::tie(left, top) = sharp::CalculateCrop( compositeImage.width(), compositeImage.height(), image.width(), image.height(),