mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 05:13:23 +00:00
Add status messages for image operations
This commit is contained in:
@@ -99,6 +99,8 @@ class CropImage extends Operation {
|
||||
}
|
||||
|
||||
const image = await jimp.read(Buffer.from(input));
|
||||
if (ENVIRONMENT_IS_WORKER())
|
||||
self.sendStatusMessage("Cropping image...");
|
||||
if (autocrop) {
|
||||
image.autocrop({
|
||||
tolerance: (autoTolerance / 100),
|
||||
|
||||
Reference in New Issue
Block a user