diff --git a/src/ImageProcessor/ImageFactory.cs b/src/ImageProcessor/ImageFactory.cs
index e6bf4609f..adcfb9178 100644
--- a/src/ImageProcessor/ImageFactory.cs
+++ b/src/ImageProcessor/ImageFactory.cs
@@ -323,6 +323,34 @@ namespace ImageProcessor
return this;
}
+ ///
+ /// Applies a Gaussian blur to the current image.
+ ///
+ ///
+ /// The radius by which to blur the images pixels.
+ /// Any integer between 0 and 100.
+ ///
+ ///
+ /// The current instance of the class.
+ ///
+ public ImageFactory Blur(int radius)
+ {
+ if (this.ShouldProcess)
+ {
+ // Sanitize the input.
+ if (radius > 100)
+ {
+ radius = 0;
+ }
+
+ GaussianBlur blur = new GaussianBlur { DynamicParameter = radius };
+
+ this.Image = blur.ProcessImage(this);
+ }
+
+ return this;
+ }
+
///
/// Constrains the current image, resizing it to fit within the given dimensions whilst keeping its aspect ratio.
///
diff --git a/src/ImageProcessor/ImageProcessor.csproj b/src/ImageProcessor/ImageProcessor.csproj
index 1d62f5252..236724acd 100644
--- a/src/ImageProcessor/ImageProcessor.csproj
+++ b/src/ImageProcessor/ImageProcessor.csproj
@@ -12,6 +12,8 @@
ImageProcessor
v4.0
512
+ ..\
+ true
true
@@ -57,11 +59,15 @@
+
+
+
+
@@ -83,8 +89,10 @@
+
+
@@ -99,8 +107,8 @@
-
+