ImageTorque 0.4.0
See the version list below for details.
dotnet add package ImageTorque --version 0.4.0
NuGet\Install-Package ImageTorque -Version 0.4.0
<PackageReference Include="ImageTorque" Version="0.4.0" />
paket add ImageTorque --version 0.4.0
#r "nuget: ImageTorque, 0.4.0"
// 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
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 | Versions 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. |
-
net8.0
- ImageTorque.Core (>= 0.0.1)
- System.IO.Hashing (>= 8.0.0)
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.