mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 20:10:13 +02:00
Alternative fix for 4340d60, uses existing StaySequential
This commit is contained in:
parent
4340d60ccf
commit
e7381e522e
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user