@@ -5396,6 +5396,19 @@ public void Resample(double resolutionX, double resolutionY)
53965396 mutator . Resample ( resolutionX , resolutionY ) ;
53975397 }
53985398
5399+ /// <summary>
5400+ /// Resize image in terms of its pixel size.
5401+ /// </summary>
5402+ /// <param name="resolutionX">The new X resolution.</param>
5403+ /// <param name="resolutionY">The new Y resolution.</param>
5404+ /// <param name="filter">The filter to use.</param>
5405+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
5406+ public void Resample ( double resolutionX , double resolutionY , FilterType filter )
5407+ {
5408+ using var mutator = new Mutator ( _nativeInstance ) ;
5409+ mutator . Resample ( resolutionX , resolutionY , filter ) ;
5410+ }
5411+
53995412 /// <summary>
54005413 /// Resize image in terms of its pixel size.
54015414 /// </summary>
@@ -5407,6 +5420,18 @@ public void Resample(PointD density)
54075420 mutator . Resample ( density ) ;
54085421 }
54095422
5423+ /// <summary>
5424+ /// Resize image in terms of its pixel size.
5425+ /// </summary>
5426+ /// <param name="density">The density to use.</param>
5427+ /// <param name="filter">The filter to use.</param>
5428+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
5429+ public void Resample ( PointD density , FilterType filter )
5430+ {
5431+ using var mutator = new Mutator ( _nativeInstance ) ;
5432+ mutator . Resample ( density , filter ) ;
5433+ }
5434+
54105435 /// <summary>
54115436 /// Resets the page property of this image.
54125437 /// </summary>
@@ -5429,6 +5454,22 @@ public void Resize(uint width, uint height)
54295454 mutator . Resize ( width , height ) ;
54305455 }
54315456
5457+ /// <summary>
5458+ /// Resize image to specified size.
5459+ /// <para />
5460+ /// Resize will fit the image into the requested size. It does NOT fill, the requested box size.
5461+ /// Use the <see cref="IMagickGeometry"/> overload for more control over the resulting size.
5462+ /// </summary>
5463+ /// <param name="width">The new width.</param>
5464+ /// <param name="height">The new height.</param>
5465+ /// <param name="filter">The filter to use.</param>
5466+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
5467+ public void Resize ( uint width , uint height , FilterType filter )
5468+ {
5469+ using var mutator = new Mutator ( _nativeInstance ) ;
5470+ mutator . Resize ( width , height , filter ) ;
5471+ }
5472+
54325473 /// <summary>
54335474 /// Resize image to specified geometry.
54345475 /// </summary>
@@ -5440,6 +5481,18 @@ public void Resize(IMagickGeometry geometry)
54405481 mutator . Resize ( geometry ) ;
54415482 }
54425483
5484+ /// <summary>
5485+ /// Resize image to specified geometry.
5486+ /// </summary>
5487+ /// <param name="geometry">The geometry to use.</param>
5488+ /// <param name="filter">The filter to use.</param>
5489+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
5490+ public void Resize ( IMagickGeometry geometry , FilterType filter )
5491+ {
5492+ using var mutator = new Mutator ( _nativeInstance ) ;
5493+ mutator . Resize ( geometry , filter ) ;
5494+ }
5495+
54435496 /// <summary>
54445497 /// Resize image to specified percentage.
54455498 /// </summary>
@@ -5451,6 +5504,18 @@ public void Resize(Percentage percentage)
54515504 mutator . Resize ( percentage ) ;
54525505 }
54535506
5507+ /// <summary>
5508+ /// Resize image to specified percentage.
5509+ /// </summary>
5510+ /// <param name="percentage">The percentage.</param>
5511+ /// <param name="filter">The filter to use.</param>
5512+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
5513+ public void Resize ( Percentage percentage , FilterType filter )
5514+ {
5515+ using var mutator = new Mutator ( _nativeInstance ) ;
5516+ mutator . Resize ( percentage , filter ) ;
5517+ }
5518+
54545519 /// <summary>
54555520 /// Resize image to specified percentage.
54565521 /// </summary>
@@ -5463,6 +5528,19 @@ public void Resize(Percentage percentageWidth, Percentage percentageHeight)
54635528 mutator . Resize ( percentageWidth , percentageHeight ) ;
54645529 }
54655530
5531+ /// <summary>
5532+ /// Resize image to specified percentage.
5533+ /// </summary>
5534+ /// <param name="percentageWidth">The percentage of the width.</param>
5535+ /// <param name="percentageHeight">The percentage of the height.</param>
5536+ /// <param name="filter">The filter to use.</param>
5537+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
5538+ public void Resize ( Percentage percentageWidth , Percentage percentageHeight , FilterType filter )
5539+ {
5540+ using var mutator = new Mutator ( _nativeInstance ) ;
5541+ mutator . Resize ( percentageWidth , percentageHeight , filter ) ;
5542+ }
5543+
54665544 /// <summary>
54675545 /// Roll image (rolls image vertically and horizontally).
54685546 /// </summary>
0 commit comments