2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-05 23:53:27 +00:00

Add resizing status message

This commit is contained in:
j433866
2019-03-06 10:32:58 +00:00
parent 370ae323f6
commit 662922be6f

View File

@@ -97,6 +97,9 @@ class ResizeImage extends Operation {
width = image.getWidth() * (width / 100);
height = image.getHeight() * (height / 100);
}
if (ENVIRONMENT_IS_WORKER())
self.sendStatusMessage("Resizing image...");
if (aspect) {
image.scaleToFit(width, height, resizeMap[resizeAlg]);
} else {