mirror of
https://github.com/gchq/CyberChef.git
synced 2024-09-27 22:11:30 +02:00
Add resizing status message
This commit is contained in:
parent
370ae323f6
commit
662922be6f
@ -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 New Issue
Block a user