Fix Crop image parameters

This commit is contained in:
C85297 2026-02-06 13:05:36 +00:00
parent 525c904c45
commit db6e643e99
No known key found for this signature in database

View File

@ -124,7 +124,12 @@ class CropImage extends Operation {
leaveBorder: autoBorder, leaveBorder: autoBorder,
}); });
} else { } else {
image.crop({ xPos, yPos, width, height }); image.crop({
x: xPos,
y: yPos,
w: width,
h: height,
});
} }
let imageBuffer; let imageBuffer;