See the version list below for details.
dotnet add package Aspose.Drawing --version 20.7.0
NuGet\Install-Package Aspose.Drawing -Version 20.7.0
<PackageReference Include="Aspose.Drawing" Version="20.7.0" />
paket add Aspose.Drawing --version 20.7.0
#r "nuget: Aspose.Drawing, 20.7.0"
// Install Aspose.Drawing as a Cake Addin #addin nuget:?package=Aspose.Drawing&version=20.7.0 // Install Aspose.Drawing as a Cake Tool #tool nuget:?package=Aspose.Drawing&version=20.7.0
2D Drawing Engine for .NET Platforms
Aspose.Drawing for .NET is a cross-platform 2D drawing engine with System.Drawing compatible API.
Our drawing engine supports rendering vector graphics (such as lines, curves, and figures) and text (in a variety of fonts, sizes, and styles) onto raster images represented by array of pixels in memory. Images can be saved in some of popularly used graphics file formats (BMP, PNG, JPEG, GIF, TIFF).
Aspose.Drawing is a pure .NET library. We don’t use any external native rendering engine, so Aspose.Drawing can be safely run from any restricted environment such as Windows of ASP.NET service.
Graphic File Processing Features
- Creating bitmaps from scratch or loading from files.
- Drawing lines, Bézier curves, splines and arcs.
- Drawing shapes such as rectangle, polygon, eclipse, etc.
- Processing and drawing graphics paths.
- Rendering text with different fonts and styles.
- Using different pen widths and styles.
- Using solid and texture brushes.
- Alpha blending and anti-aliasing lines and shapes.
- Working with clip regions.
- Using affine transformations.
New Features & Enhancements in Version 20.7
- Addition of the
- Updated the
- Reworked the
- Addition of the functionality for
Read & Write Drawing Formats
BMP, PNG, JPEG, GIF, TIFF
The project is based on managed .NET core and does not have dependencies on native code and libraries, with the rendering algorithms working the same way on all supported platforms.
Aspose.Drawing for .NET supports any 32-bit or 64-bit operating system where .NET Framework or .NET Core is installed including, but not limited to:
- Microsoft Windows desktop (XP, Vista, 7, 8, 10) and server operating systems (2003, 2008, 2012, 2016, 2019)
- Windows Azure
It also supports .NET Framework version 2.0 and .NET Core 2.0 or later. You can use Aspose.Drawing for .NET to develop applications in any development environment that targets the .NET platform. However, Microsoft Visual Studio 2012, 2013, 2015, 2017, 2019 are explicitly supported.
Getting Started with Aspose.Drawing for .NET
Are you ready to give Aspose.Drawing for .NET a try? Simply execute
Install-Package Aspose.Drawing from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Drawing for .NET and want to upgrade the version, please execute
Update-Package Aspose.Drawing to get the latest version.
Create New Bitmap using C# Code
You can execute below code snippet to see how Aspose.Drawing API performs in your own environment or check the GitHub Repository for other common usage scenarios.
// For complete examples and data files, please go to https://github.com/aspose-drawing/Aspose.Drawing-for-.NET Bitmap bitmap = new Bitmap(1000, 800, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); Graphics graphics = Graphics.FromImage(bitmap); Pen pen = new Pen(Color.FromKnownColor(KnownColor.Blue), 2); graphics.DrawArc(pen, 0, 0, 700, 700, 0, 180); bitmap.Save(RunExamples.GetDataDir() + @"LinesCurvesShapes\DrawArc_out.png");
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Aspose.Drawing:
Aspose.Tasks for .NET is a collection of classes that seamlessly integrates with your .NET applications to provide interaction and manipulation capabilities for the Microsoft ProjectⓇ file formats (MPP, MPT, MPX) as well as PrimaveraⓇ formats (XER, P6XML). Aspose.Tasks for .NET helps developers to create project management Apps in .NET that can work with Microsoft ProjectⓇ formulas, project calendars, calendar exceptions, tasks, task links, task baselines, resources, resource assignments, currencies, as well as fetching VBA information from an MPP file. You can also convert MS ProjectⓇ files to PDF, JPEG, Excel, SVG, HTML, CSV, BMP and many other formats. Aspose.Tasks for .NET supports any 32-bit or 64-bit OS where .NET or Mono framework is installed, including MS Windows, Linux, and macOS. Aspose.Tasks for .NET classes are packaged into a single DLL which removes your App dependency for any additional 3rd party components or software to be installed in order to work with the Microsoft ProjectⓇ or PrimaveraⓇ files.
sensenet Aspose Preview Provider makes it possible to generate and serve preview images using Aspose libraries.
This package is not used by any popular GitHub repositories.