ImageTorque 0.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ImageTorque --version 0.4.0                
NuGet\Install-Package ImageTorque -Version 0.4.0                
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="ImageTorque" Version="0.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ImageTorque --version 0.4.0                
#r "nuget: ImageTorque, 0.4.0"                
#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 ImageTorque as a Cake Addin
#addin nuget:?package=ImageTorque&version=0.4.0

// Install ImageTorque as a Cake Tool
#tool nuget:?package=ImageTorque&version=0.4.0                

ImageTorque

Quality Gate Status Build and publish NuGet MIT License

Open .NET image processing library.

ImageTorque is a cross-platform computer vision library.

Built for .NET 8, ImageTorque can be run anywhere - from the edge device all the way up to cloud services.

Codec providers

ImageTorque uses codec providers to decode and encode images. <br/> The following codec providers are supported:

Codec Provider Supported Formats License
ImageTorque BMP, PNG (load only) Apache 2.0
Magick.NET BMP, JPEG, PNG, TIFF Apache 2.0
ImageSharp BMP, JPEG, PNG Six Labors Split License

How to use codes

Example: How to use ImageTorque build in codecs as default configuration:

using ImageTorque;
using ImageTorque.Codecs.Png;
using ImageTorque.Codecs.Bmp;

// Add PNG and BMP codecs to the default configuration
Configuration.Default = ConfigurationFactory.Build([
        new PngCodec(),
        new BmpCodec()
    ]);

// Load image
var image = Image.Load("sample.png");

Example: How to use ImageTorque build in codecs with custom configuration:

using ImageTorque;
using ImageTorque.Codecs.Png;

// Create a new configuration with PNG codec
var configuration = ConfigurationFactory.Build([
        new PngCodec()
    ]);

// Load image with the new configuration
var image = Image.Load("sample.png", configuration);

Example: How to extend the default configuration with additional codecs like ImageMagick tiff codec:

using ImageTorque;
using ImageTorque.Codecs.Png;
using ImageTorque.Codecs.Bmp;
using ImageTorque.Codecs.ImageMagick;

// Add Png, Bmp and Tiff codecs to the default configuration
Configuration.Default = ConfigurationFactory.Build([
        new PngCodec(),
        new BmpCodec(),
        new TiffCodec()
    ]);

// Load image
var image = Image.Load("sample.tiff");

Supported pixel types

Pixel Type Type Description
LS float 32 bit luminance pixel
L8 byte 8 bit luminance pixel
L16 ushort 16 bit luminance pixel
RGB float 32 bit color pixel
RGB24 byte 24 bit color pixel
RGB48 ushort 48 bit color pixel
Product Compatible and additional computed target framework versions.
.NET 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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ImageTorque:

Package Downloads
ImageTorque.AI

AI extension library for ImageTorque

AyBorg.Types

Types used by AyBorg. Use it to implement your own AyBorg plugins.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.1 254 9/22/2024
0.4.0 93 9/20/2024
0.2.0 1,180 11/29/2023
0.1.5 1,433 3/31/2023
0.1.4 1,121 1/17/2023
0.1.3 721 1/16/2023