diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-27 22:06:33 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-27 22:06:33 +1100 |
commit | aba77ed2b434e5aa953b553fc71f70cea34de290 (patch) | |
tree | 433bb1753223140dcaac09d3af6e70bd6fcd94d1 /source/core/StarImageProcessing.cpp | |
parent | 45c89cefb602471a9db232b9d80a75444081feac (diff) |
Update StarImageProcessing.cpp
[skip ci]
Diffstat (limited to 'source/core/StarImageProcessing.cpp')
-rw-r--r-- | source/core/StarImageProcessing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp index 938bbe9..9f64124 100644 --- a/source/core/StarImageProcessing.cpp +++ b/source/core/StarImageProcessing.cpp @@ -625,11 +625,11 @@ void processImageOperation(ImageOperation const& operation, Image& image, ImageR scale = scale.piecewiseMax(Vec2F::filled(0.f)); } if (op->mode == ScaleImageOperation::Nearest) - image = scaleNearest(image, op->scale); + image = scaleNearest(image, scale); else if (op->mode == ScaleImageOperation::Bilinear) - image = scaleBilinear(image, op->scale); + image = scaleBilinear(image, scale); else if (op->mode == ScaleImageOperation::Bicubic) - image = scaleBicubic(image, op->scale); + image = scaleBicubic(image, scale); } else if (auto op = operation.ptr<CropImageOperation>()) { image = image.subImage(Vec2U(op->subset.min()), Vec2U(op->subset.size())); |