Aspose.Drawing.Common 24.2.0

dotnet add package Aspose.Drawing.Common --version 24.2.0
NuGet\Install-Package Aspose.Drawing.Common -Version 24.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Drawing.Common" Version="24.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Drawing.Common --version 24.2.0
#r "nuget: Aspose.Drawing.Common, 24.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Drawing.Common as a Cake Addin
#addin nuget:?package=Aspose.Drawing.Common&version=24.2.0

// Install Aspose.Drawing.Common as a Cake Tool
#tool nuget:?package=Aspose.Drawing.Common&version=24.2.0

2D Drawing Engine for .NET Platforms

Version 24.2.0 NuGet

banner

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

Aspose.Drawing for .NET is a cross-platform 2D drawing engine - compatible alternative of System.Drawing 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 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.

Use of Aspose.Drawing namespace allows side-by-side use with System.Drawing.Common.

Aspose.Drawing is a pure .NET library that does not rely on any external native rendering engine. It allows running 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, WMF and EMF.

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, 11) and server operating systems (2003, 2008, 2012, 2016, 2019, 2022)
  • 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, 2022 are explicitly supported.

Get Started

Are you ready to give Aspose.Drawing for .NET a try? Simply execute Install-Package Aspose.Drawing.Common 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.Common 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, Aspose.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 | Releases | Free Support | Temporary License

Product 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.  net8.0 was computed.  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. 
.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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 2.0

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (6)

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

Package Downloads
Aspose.BarCode

Aspose.BarCode for .NET is a robust and reliable barcode generation and recognition component, written in managed C#, it allows developers to quickly and easily add barcode generation and recognition functionality to their Microsoft .NET applications (WinForms, WPF and .NET Core). Aspose.BarCode for .NET supports most established barcode standards and barcode specifications. It has the ability to export to multiple image formats including: BMP, GIF, JPEG, PNG, TIFF, EMF and SVG.

GroupDocs.Conversion

GroupDocs.Conversion for .NET is a powerful and intuitive library used for documents conversion. Convert DOC to PDF, PDF to DOC, XLS to DOC, PPT to PDF and any other popular file formats with simple, intuitive and flexible API. For more details on the GroupDocs.Conversion for .NET API, please visit product website at: https://products.groupdocs.com/conversion/net Note: The library will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.

GroupDocs.Total

GroupDocs.Total for .NET is a compilation of every .NET API offered by GroupDocs. We compile it on a regular basis to ensure that it contains the most up to date versions of each of our .NET document manipulation APIs. With GroupDocs.Total for .NET developers can use all our APIs with a single license. However, you can order any individual API as well. The APIs we offer include: * GroupDocs.Annotation for .NET - 23.12 * GroupDocs.Assembly for .NET - 23.8 * GroupDocs.Classification for .NET - 21.1 * GroupDocs.Comparison for .NET - 24.1 * GroupDocs.Conversion for .NET - 24.1 * GroupDocs.Editor for .NET - 23.12 * GroupDocs.Merger for .NET - 24.1 * GroupDocs.Metadata for .NET - 24.1 * GroupDocs.Parser for .NET - 23.12 * GroupDocs.Redaction for .NET - 23.11 * GroupDocs.Search for .NET - 24.1 * GroupDocs.Signature for .NET - 23.12 * GroupDocs.Viewer for .NET - 24.1 * GroupDocs.Watermark for .NET - 24.1 GroupDocs.Total for .NET Documentation https://docs.groupdocs.com/total/net Free support for GroupDocs.Total for .NET is provided on our support forum: https://forum.groupdocs.com

GroupDocs.Metadata

GroupDocs.Metadata for .NET is a full featured class library which allows users to read and edit metadata associated with various document, image, audio, video and many other formats. It works with most notable metadata standards: XMP, EXIF, IPTC, Image Resource Blocks, ID3 and format-specific metadata properties.

GroupDocs.Signature

GroupDocs.Signature for .NET is a comprehensive library that allows you to sign PDF, Word, Excel, JPG, and Presentation documents using various electronic signatures like text, image, barcode, QR code, metadata, form field, and digital signatures. With this API, you can also create, search, and verify electronic signatures for popular document formats, and customize your signing options to fit your needs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.2.0 381 2/10/2024
24.1.0 1,325 1/10/2024
23.12.0 4,106 12/10/2023
23.11.0 3,620 11/9/2023
23.10.0 4,204 10/9/2023
23.9.0 6,224 9/8/2023
23.8.1 5,087 8/10/2023
23.7.0 90,154 7/7/2023
23.6.0 1,006 6/9/2023
23.5.0 60,010 5/5/2023
23.4.0 1,070 4/7/2023
23.3.0 19,567 3/10/2023
23.2.0 5,658 2/20/2023
23.1.0 418 1/27/2023
22.12.0 374 12/29/2022
22.11.0 406 11/29/2022
22.10.0 443 10/18/2022
22.9.0 2,116 10/5/2022