FileFormat.Aсcord This is a fork of the Accord.Net project, which includes the Imaging library. This version only NetStandard 2.0 framework, and uses Aspose.Drawing as a graphics engine, which allows you to create cross-platform applications using lastest .Net platforms.
FileFormat.Accord 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.
- First release
Are you ready to give FileFormat.Accord a try? Simply execute
Install-Package FileFormat.Accord
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Accord.Imaging.Net and want to upgrade the version, please execute
Update-Package FileFormat.Accord
to get the latest version.
- FileFormat.Accord is distributed under LGPL license
- Aspose.Drawing .NET is distributed under Aspose EULA license;
using System.Drawing.AsposeDrawing;
using FileFormat.Accord.Imaging.Filters;
using Image = FileFormat.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