Imagise.Converter 24.9.1

dotnet add package Imagise.Converter --version 24.9.1                
NuGet\Install-Package Imagise.Converter -Version 24.9.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Imagise.Converter" Version="24.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Imagise.Converter --version 24.9.1                
#r "nuget: Imagise.Converter, 24.9.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Imagise.Converter as a Cake Addin
#addin nuget:?package=Imagise.Converter&version=24.9.1

// Install Imagise.Converter as a Cake Tool
#tool nuget:?package=Imagise.Converter&version=24.9.1                

Imagise.Converter plugin for .NET

Imagise.Converter plugin .NET simplifies image conversion, enabling easy format switching with minimal code. It supports a broad range of formats, making it simple for developers to integrate versatile image conversion into their applications.

Platform Independence

Imagise.Converter 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 .Net Core 3.1, .Net6.0, .Net7.0, .Net8.0.

New Features & Enhancements in Version 24.9

Imagise.Converter is live.

Getting Started with Imagise.Converter plugin for .NET

Ready to try the Imagise.Converter plugin for .NET? You can easily add the Imagise.Converter NuGet package to your .NET application by running the following command in the Package Manager Console in Visual Studio:

Install-Package Imagise.Converter

If you already have Imagise.Converter installed and want to upgrade to the latest version, simply run:

Update-Package Imagise.Converter

This will ensure you have the most up-to-date version.

Following examples may help you with to use the compression in your application

Convert Jpeg to Png

using Imagise.Converter.ImageOptions;
using Imagise.Core.Options;
using Imagise.Core;

string inputFolder = "<<your input folder>>";
string outputFolder = "<<your output folder>>";

if (!Directory.Exists(outputFolder))
{
	Directory.CreateDirectory(outputFolder);
}

var inputFile = Path.Combine(inputFolder, "template.jpg");

using (var image = Image.Load(inputFile))
{
    image.Save(Path.Combine(outputFolder, "template.png"), 
               new PngOptions(){ ColorType = PngColorType.TruecolorWithAlpha});
}

Convert Eps to Svg

using Imagise.Converter.ImageOptions;
using Imagise.Converter.ImageOptions.VectorRasterization;
using Imagise.Core.Options;
using Imagise.Core;

string inputFolder = "<<your input folder>>";
string outputFolder = "<<your output folder>>";

if (!Directory.Exists(outputFolder))
{
	Directory.CreateDirectory(outputFolder);
}

var inputFile = Path.Combine(inputFolder, "template.eps");

using (var image = Image.Load(inputFile))
{
    VectorRasterizationOptions rasterizationOptions = new VectorRasterizationOptions() 	{
                            PageWidth = image.Width,
                            PageHeight = image.Height
			    }

    image.Save(Path.Combine(outputFolder, "template.svg"), 
               new SvgOptions(){ VectorRasterizationOptions = rasterizationOptions });
}
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.9.1 6 9/6/2024
24.9.0 1 9/6/2024
24.8.5 6 8/8/2024
24.8.4 5 8/7/2024