Add status messages for image operations
This commit is contained in:
1 parent
833c1cd98f
commit
4a7ea469d4
8 files changed
+24
-3
No files matched your search
@@ -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