Skip to content

Commit

Permalink
Alternative fix for 4340d60, uses existing StaySequential
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Aug 31, 2023
1 parent 4340d60 commit e7381e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipeline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit e7381e5

Please sign in to comment.