mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-16 00:48:31 +01:00
Add resizing status message
This commit is contained in:
parent
370ae323f6
commit
662922be6f
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue