Image Resizer
Ditch the quality loss!
Resize images with intelligent scaling that preserves quality.
About This Plugin
The Image Resizer plugin provides professional-grade image scaling for .NET applications. Using advanced resampling algorithms including Lanczos, bicubic, and AI-enhanced upscaling, this plugin delivers superior quality when enlarging or reducing image dimensions. Features include aspect ratio preservation, smart cropping, batch resizing, and responsive image generation - essential for web optimization, thumbnail creation, and adaptive image delivery.
.NET Prerequisites
- Microsoft Windows or a compatible OS with .NET Core
- Development environment: Visual Studio Code or Microsoft Visual Studio
How to Use
Reference Imagise Image Resizer
Add the Imagise.ImageResizer NuGet package to your .NET project and include the appropriate using directives in your code files.
Set License Keys
Apply your license credentials using the License class to unlock all resizing algorithms and remove evaluation limitations.
Create Resizer Instance
Instantiate an ImageResizer object and load the source image you want to resize from a file, stream, or existing image object.
Configure Resize Options
Specify target dimensions, resampling algorithm (Lanczos, bicubic, bilinear), aspect ratio handling (stretch, fit, fill, crop), and quality settings.
Process Image Resize
Execute the resize operation with your configured parameters. The plugin applies the selected algorithm to produce high-quality scaled output.
Save Resized Result
Export the resized image to your desired output location with optional format conversion and compression settings for optimized results.
Key Features
Advanced Resampling Algorithms
Choose from multiple high-quality algorithms including Lanczos3, bicubic, bilinear, and nearest neighbor for optimal quality based on your specific use case.
Smart Aspect Ratio Handling
Automatically maintain proportions with fit/fill modes, or use content-aware cropping to focus on important image regions when changing aspect ratios.
Responsive Image Sets
Generate multiple sizes from a single source image for responsive web design, including retina/HiDPI variants with automated naming conventions.
Batch Processing & Presets
Resize multiple images simultaneously with consistent settings. Save and reuse resize presets for common dimension requirements in your workflow.
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.
Ready to Get Started?
This plugin is currently under development and will be available soon.