System.Drawing.Common (System.Drawing) alternative
Aspose.Drawing.Common API as an alternative to System.Drawing.Common for 2D graphics engine for .NET
The alternative to the System.Drawing.Common library has become more relevant since Microsoft announced restrictions on its usage for .NET 6 on non-Windows platforms due to the lack of support for 3rd party native libraries that the Microsoft library relies on. The Aspose package supports .NET Standard 2.0 interface and is compatible with any 32-bit or 64-bit operating system where .NET Core 3.1, .NET 6, .NET 7 and higher are installed. Aspose.Drawing is not just a drawing library for Windows with the full support of the System.Drawing.Common API; is also a cross-platform software, free from the shortcomings of the System.Drawing.Common library, and surpasses other alternative competitors' solutions.
Aspose.Drawing features description
The Aspose.Drawing library offers an extensive set of 2D drawing features, including various methods for drawing lines, Bezier curves, splines, arcs, and shapes like rectangles, polygons, and ellipses, as well as processing and drawing graphics paths. Furthermore, it allows you to draw text strings as well. In contrast to other drawing libraries, Aspose provides high-quality rendering of text with anti-aliasing and hinting, ensuring that font edges appear smooth without jagged edges, and letters are readable on any kind of displays and resolutions. Aspose.Drawing has an advantage over other alternative libraries as it also supports strikeout or underline font rendering and the possibility to draw text in the shapes with alignment.
When drawing graphics, you have the flexibility to configure a pen with various colors, widths, and line styles, such as solid lines, dash lines, dot lines, or any custom combination of dashes and dots. Additionally, you can use solid and texture brushes to draw shapes. Moreover, you can utilize alpha blending and anti-aliasing for lines and shapes, allowing you to create semi-transparent objects that blend smoothly with a background image.
By utilizing the clipping regions method, you can create visually attractive pictures with fascinating designs. With the Aspose.Drawing library, you can draw graphics objects and then manipulate them by moving or stretching them using affine transformations.
You can follow a link to the Aspose.Drawing for .NET documentation for a full feature list.
Aspose.Drawing supported image formats
Using the Aspose.Drawing library, you can create drawings on a new bitmap or load an image from an existing file. Drawings are stored in memory as pixel arrays, and you have different options to save the final graphics as raster images into another image file. Unlike other libraries, the Aspose library supports a wide range of popular file formats, including TIFF, BMP, PNG, JPEG, GIF, WMF, and EMF.
The Aspose.Drawing.Common package can be downloaded from the NuGet package manager repository. For the API description, please refer to the Aspose .NET APIs for 2D Graphics Drawing product page.