diff --git a/src/ImageSharp.Processing/Transforms/Resize.cs b/src/ImageSharp.Processing/Transforms/Resize.cs
index 02a03d79be..35ffc8b7dd 100644
--- a/src/ImageSharp.Processing/Transforms/Resize.cs
+++ b/src/ImageSharp.Processing/Transforms/Resize.cs
@@ -42,6 +42,20 @@ namespace ImageSharp
return Resize(source, options.Size.Width, options.Size.Height, options.Sampler, source.Bounds, targetRectangle, options.Compand);
}
+ ///
+ /// Resizes an image to the given .
+ ///
+ /// The pixel format.
+ /// The image to resize.
+ /// The target image size.
+ /// The
+ /// Passing zero for one of height or width will automatically preserve the aspect ratio of the original image
+ public static Image Resize(this Image source, Size size)
+ where TColor : struct, IPackedPixel, IEquatable
+ {
+ return Resize(source, size.Width, size.Height, new BicubicResampler(), false);
+ }
+
///
/// Resizes an image to the given width and height.
///