Aspose.Drawing 21.7.0

Aspose.Drawing for .NET is a 2D graphics library with System.Drawing compatible API. It allows your cross-platform .NET Apps to render vector graphics such as lines, curves, and figures as well as text onto raster images.

     Aspose.Drawing is a pure .NET library that does not rely on any external native rendering engine. It allows to run your existing C# and VB Apps on various supported platforms having identical rendering results. Aspose.Drawing for .NET can be used in .NET Framework, .NET Core or Xamarin applications in Windows, Linux, Android, Azure Functions or Blazor WebAssembly. It can be safely run from any restricted environment such as Windows or ASP.NET service.

     With Aspose.Drawing you can create bitmaps from scratch or load from existing files; draw lines, Bézier curves, splines, arcs, rectangles, polygons, eclipses, etc.; work with graphics paths; render text with different fonts and styles. It allows using different pen widths and styles; solid, texture, gradient and hatch brushes; clipping regions and matrix transformations. Images are stored in memory as managed arrays of pixels and can be saved in various image formats including BMP, PNG, JPEG, GIF, and TIFF.

Install-Package Aspose.Drawing -Version 21.7.0
dotnet add package Aspose.Drawing --version 21.7.0
<PackageReference Include="Aspose.Drawing" Version="21.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Drawing --version 21.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Drawing, 21.7.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Drawing as a Cake Addin
#addin nuget:?package=Aspose.Drawing&version=21.7.0

// Install Aspose.Drawing as a Cake Tool
#tool nuget:?package=Aspose.Drawing&version=21.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

2D Drawing Engine for .NET Platforms

Version 21.7 Nuget

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

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 an array of pixels in memory. Images can be saved in some of the 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.

Supported Read & Write Drawing Formats

BMP, PNG, JPEG, GIF, TIFF

Platform Independence

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.

Get Started

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 the 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 Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

2D Drawing Engine for .NET Platforms

Version 21.7 Nuget

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

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 an array of pixels in memory. Images can be saved in some of the 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.

Supported Read & Write Drawing Formats

BMP, PNG, JPEG, GIF, TIFF

Platform Independence

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.

Get Started

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 the 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 Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Release Notes

https://docs.aspose.com/drawing/net/aspose-drawing-for-net-21-7-release-notes/

  • .NETFramework 2.0

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Aspose.Drawing:

Package Downloads
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
21.7.0 125 7/16/2021
21.6.0 402 6/18/2021
21.5.0 645 5/18/2021
21.4.0 2,323 4/26/2021
21.3.0 593 3/26/2021
21.2.0 1,983 2/26/2021
21.1.0 129 2/1/2021
20.12.0 596 12/29/2020
20.11.0 918 11/30/2020
20.10.0 636 10/27/2020
20.9.0 829 10/1/2020
20.8.0 374 8/26/2020
20.7.0 1,134 7/22/2020
20.6.1 498 6/24/2020
20.6.0 223 6/24/2020