mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Set min blur amount to 1, add status message for gaussian blur.
This commit is contained in:
parent
7975fadfe9
commit
7b6062a4a2
1 changed files with 4 additions and 1 deletions
|
@ -32,7 +32,8 @@ class BlurImage extends Operation {
|
|||
{
|
||||
name: "Blur Amount",
|
||||
type: "number",
|
||||
value: 5
|
||||
value: 5,
|
||||
min: 1
|
||||
},
|
||||
{
|
||||
name: "Blur Type",
|
||||
|
@ -59,6 +60,8 @@ class BlurImage extends Operation {
|
|||
image.blur(blurAmount);
|
||||
break;
|
||||
case "Gaussian":
|
||||
if (ENVIRONMENT_IS_WORKER())
|
||||
self.sendStatusMessage("Gaussian blurring image. This will take a while...");
|
||||
image.gaussian(blurAmount);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue