1. Products
  2.   Aspose.Imaging
  3.   .NET
  4.   Image Resizer

Image Resizing with .NET Plugin

Easily resize images or photos while maintaining resolution

.NET Image Resizer Plugin

Aspose.Imaging’s Image Resizer Plugin for .NET offer simple and efficient methods for this task. The Resize method in the Image class can dynamically resize existing images.

How to Resize Images via .NET?

  • Reference Aspose.Imaging in your project
  • Set your license keys
  • Load the image with an instance of Image class
  • Call Image.Filter method to set the desired filter
  • Call Image.Save method to save or export the result

.NET Image Resizer Prerequisites

Get the respective assembly files from the downloads or fetch the package from NuGet to add Aspose.Imaging directly in your workspace.

  • Microsoft Windows or a compatible OS with .NET Core
  • Development environment like Visual Studio Code or Microsoft Visual Studio

Frequently Asked Questions

Can I perform proportional resizing?

Yes, you can achieve proportional resizing with specific ResizeType options using the ResizeWidthProportionally and ResizeHeightProportionally methods.

What is the purpose of the ResizeType enumeration in image resizing?

The ResizeType enumeration allows you to specify the type of resizing filter to be used, affecting the quality of the resized image. It includes options like LanczosResample and NearestNeighbourResample, catering to different performance and quality needs.

How can I resize a webp image?

Plugin supports resizing webp images. You can find an example in the documentation demonstrating how to resize a webp image using the Resize method with specific options.


Support and Learning Resources