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); width = image.getWidth() * (width / 100);
height = image.getHeight() * (height / 100); height = image.getHeight() * (height / 100);
} }
if (ENVIRONMENT_IS_WORKER())
self.sendStatusMessage("Resizing image...");
if (aspect) { if (aspect) {
image.scaleToFit(width, height, resizeMap[resizeAlg]); image.scaleToFit(width, height, resizeMap[resizeAlg]);
} else { } else {