@@ -1337,15 +1337,21 @@ public void BlueShift(double factor)
13371337 /// </summary>
13381338 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
13391339 public void Blur ( )
1340- => Blur ( 0.0 , 1.0 ) ;
1340+ {
1341+ using var mutator = new Mutator ( _nativeInstance ) ;
1342+ mutator . Blur ( ) ;
1343+ }
13411344
13421345 /// <summary>
13431346 /// Blur the specified channel(s) of the image with the default blur factor (0x1).
13441347 /// </summary>
13451348 /// <param name="channels">The channel(s) that should be blurred.</param>
13461349 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
13471350 public void Blur ( Channels channels )
1348- => Blur ( 0.0 , 1.0 , channels ) ;
1351+ {
1352+ using var mutator = new Mutator ( _nativeInstance ) ;
1353+ mutator . Blur ( channels ) ;
1354+ }
13491355
13501356 /// <summary>
13511357 /// Blur image with specified blur factor.
@@ -1354,7 +1360,10 @@ public void Blur(Channels channels)
13541360 /// <param name="sigma">The standard deviation of the Laplacian, in pixels.</param>
13551361 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
13561362 public void Blur ( double radius , double sigma )
1357- => Blur ( radius , sigma , ImageMagick . Channels . Undefined ) ;
1363+ {
1364+ using var mutator = new Mutator ( _nativeInstance ) ;
1365+ mutator . Blur ( radius , sigma ) ;
1366+ }
13581367
13591368 /// <summary>
13601369 /// Blur the specified channel(s) of the image with the specified blur factor.
@@ -1364,7 +1373,10 @@ public void Blur(double radius, double sigma)
13641373 /// <param name="channels">The channel(s) that should be blurred.</param>
13651374 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
13661375 public void Blur ( double radius , double sigma , Channels channels )
1367- => _nativeInstance . Blur ( radius , sigma , channels ) ;
1376+ {
1377+ using var mutator = new Mutator ( _nativeInstance ) ;
1378+ mutator . Blur ( radius , sigma , channels ) ;
1379+ }
13681380
13691381 /// <summary>
13701382 /// Add a border to the image.
0 commit comments