@@ -1487,7 +1487,10 @@ public void Charcoal(double radius, double sigma)
14871487 /// <param name="geometry">The geometry to use.</param>
14881488 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
14891489 public void Chop ( IMagickGeometry geometry )
1490- => _nativeInstance . Chop ( MagickRectangle . FromGeometry ( geometry , this ) ) ;
1490+ {
1491+ using var mutator = new Mutator ( _nativeInstance ) ;
1492+ mutator . Chop ( geometry ) ;
1493+ }
14911494
14921495 /// <summary>
14931496 /// Chop image (remove horizontal subregion of image).
@@ -1496,7 +1499,10 @@ public void Chop(IMagickGeometry geometry)
14961499 /// <param name="width">The width of the part to chop horizontally.</param>
14971500 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
14981501 public void ChopHorizontal ( int offset , uint width )
1499- => Chop ( new MagickGeometry ( offset , 0 , width , 0 ) ) ;
1502+ {
1503+ using var mutator = new Mutator ( _nativeInstance ) ;
1504+ mutator . ChopHorizontal ( offset , width ) ;
1505+ }
15001506
15011507 /// <summary>
15021508 /// Chop image (remove horizontal subregion of image).
@@ -1505,7 +1511,10 @@ public void ChopHorizontal(int offset, uint width)
15051511 /// <param name="height">The height of the part to chop vertically.</param>
15061512 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
15071513 public void ChopVertical ( int offset , uint height )
1508- => Chop ( new MagickGeometry ( 0 , offset , 0 , height ) ) ;
1514+ {
1515+ using var mutator = new Mutator ( _nativeInstance ) ;
1516+ mutator . ChopVertical ( offset , height ) ;
1517+ }
15091518
15101519 /// <summary>
15111520 /// A variant of adaptive histogram equalization in which the contrast amplification is limited,
0 commit comments