1. Home
  2.   Accord
  3.   Openize.Accord for .NET
Openize.Accord for .NET

Openize.Accord for .NET

 
 

Simplify processing images Using .NET API

Effortlessly edit images with Openize.Accord, open-source .NET API

Openize.Accord for .NET This is a fork of the Accord.Net project, which includes the Imaging library. This version for NetStandard 2.0 framework, and uses Aspose.Drawing as a graphics engine, which allows you to create cross-platform applications using lastest .Net platforms.

Openize.Accord is available under licenses:

Openize.Accord is distributed under LGPL license.

Aspose.Drawing .NET is distributed under Aspose EULA license.

Key Features and Benefits

  • Cross-Platform:Thanks to integration with Aspose.Drawing the library can work with images on the latest versions of .Net on Windows, Linux, MacOS platforms

How to Get Started with Openize.Accord for .NET

Getting started with Openize.Accord is quick and easy. Simply follow these steps:

  • Install Openize.Accord: Install the Openize.Accord package via NuGet Package Manager or .NET CLI.
  • Integrate with Your Project: Reference the Openize.Accord library in your C# project.
  • Start Processing: Utilize the simple API provided by Openize.Accord processing images.

The recommended way to install Openize.Accord for .NET is using NuGet. Please use the following command for a smooth installation.

Install Openize.Accord for .NET via NuGet

NuGet> Install-Package Openize.Accord 
You can also download it directly from GitHub.

Apply grayscale filter in C#

This code converts the image to grayscale format.

Copy and paste the code snippet below into your main file and execute the program.

Apply GrayWorld filter

 
using System.Drawing.AsposeDrawing;
using Openize.Accord.Imaging.Filters;
using Image = Openize.Accord.Imaging.AForge.Imaging.Image;

//Set license Aspose.Drawing
System.Drawing.AsposeDrawing.License lic = new License();
lic.SetLicense("license.lic");

//Load image
using (var image = Image.FromFile("lena_color.jpg"))
{   
	//Create filter
    var grayWorld = new GrayWorld();
	
	//apply filter
    grayWorld.ApplyInPlace(image);
	
	//save
    image.Save("lena_gray.jpg");
}

You can see other examples directly on the Accord website.

 English