Imagise.Resizer
24.9.1
dotnet add package Imagise.Resizer --version 24.9.1
NuGet\Install-Package Imagise.Resizer -Version 24.9.1
<PackageReference Include="Imagise.Resizer" Version="24.9.1" />
paket add Imagise.Resizer --version 24.9.1
#r "nuget: Imagise.Resizer, 24.9.1"
// Install Imagise.Resizer as a Cake Addin #addin nuget:?package=Imagise.Resizer&version=24.9.1 // Install Imagise.Resizer as a Cake Tool #tool nuget:?package=Imagise.Resizer&version=24.9.1
Imagise.Resizer plugin for .NET
Imagise.Resizer plugin .NET allows to decrease or increase the size of your images avoding quality loss. Many image formats are supported namely Png, Bmp, Dicom, Jpeg, Jpeg2000, Tga, Tiff etc.
Platform Independence
Imagise.Resizer plugin for .NET can be used to develop applications on Windows Desktop (x86, x64), Windows Server (x86, x64), Windows Azure, Windows Embedded (CE 6.0 R2), as well as Linux x64. The supported platforms include .Net6.0, .Net7.0, .Net8.0.
New Features & Enhancements in Version 24.9
Imagise.Resizer is live.
Getting Started with Imagise.Resizer plugin for .NET
Ready to try the Imagise.Resizer plugin for .NET? You can easily add the Imagise.Resizer NuGet package to your .NET application by running the following command in the Package Manager Console in Visual Studio:
Install-Package Imagise.Resizer
If you already have Imagise.Resizer installed and want to upgrade to the latest version, simply run:
Update-Package Imagise.Resizer
This will ensure you have the most up-to-date version.
The following examples may assist you in using the resize feature within your application.
Increase the size of jpeg image
using Imagise.Core;
using Imagise.Resizer.Options;
using Imagise.Resizer;
string inputFolder = "<<your input folder>>";
string outputFolder = "<<your output folder>>";
var fileName = "template.jpg";
var resizeRatio = 1.5;
using (var image = Image.Load(Path.Combine(inputFolder,fileName)))
{
image.Resize((int)(image.Width * resizeRatio), (int)(image.Height * resizeRatio), ResizeType.AdaptiveResample);
image.Save(Path.Combine(outputFolder,$"templatex2.jpg"));
}
Decrease the size of Gif image in licensed mode
using Imagise.Core;
using Imagise.Resizer.Options;
using Imagise.Resizer;
string inputFolder = "<<your input folder>>";
string outputFolder = "<<your output folder>>";
resizeRatio = 0.5;
fileName = "butterfly.gif";
Imagise.Core.Licensing.License.SetLicense("<<Path to your license file>>");
using (var image = Image.Load(Path.Combine(inputFolder, fileName)))
{
image.Resize((int)(image.Width * resizeRatio), (int)(image.Height * resizeRatio), ResizeType.AdaptiveResample);
image.Save(Path.Combine(outputFolder, $"butterflyx1div2.gif"));
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
net8.0
- Newtonsoft.Json (>= 13.0.1)
- System.Text.Encoding.CodePages (>= 7.0.0)
GitHub repositories
This package is not used by any popular GitHub repositories.