Graphics programming in C# might seem easier or harder than you might think. In this article, you will learn how to create stunning vector graphics programmatically in C#. Whether you’re creating graphics as part of your current project or as the basis of your own game or app! You’ll learn to create beautiful visuals with ease.
Create Bitmap in C#
Bitmap is used to create and store computer graphics. You can easily create Bitmap in C# with Aspose.Drawing for .NET API. In this article, you will learn how to create a new bitmap in C#. This article also demonstrates how to load an image in bitmap or draw graphics in a bitmap using C#.
Draw a Rectangle in C#
Vector graphics are widely used to draw shapes. You can easily draw shapes in C# applications while working with Aspose.Drawing API. In accordance with such requirements, this article covers how to draw Rectangle in C#.
Draw an Ellipse in C#
Vector graphics are widely used to draw shapes. You can easily draw shapes in C# applications while working with Aspose.Drawing API. In accordance with such requirements, this article covers how to draw Ellipse in C#.
Using System.Drawing in Blazor WebAssembly App in C#
Blazor framework is widely used to build interactive and reusable web UI in web technologies. Moreover, Blazor WebAssembly apps execute directly in the browser on a WebAssembly-based .NET runtime. This article covers how to use System.Drawing library in a Blazor WebAssembly app.
Using System.Drawing with .NET 6 on non-Windows Platform
The System.Drawing.Common is the actual implementation of the System.Drawing library. However, it is now attributed as a Windows-specific library in .NET 6 Framework. Therefore, you can use Aspose.Drawing to create a cross-platform .NET 6 Framework-based application.
Using Aspose.Drawing in Azure Functions with C#
Azure functions are event-based, serverless cloud services. You can use Aspose.Drawing for .NET API in Azure functions for drawing vector graphics or text as per your requirements. This article explains how quickly and easily you can configure the API to use in Azure Functions.
Using System.Drawing with ASP.NET Core or ASP.NET Service
There are a lot of questions dedicated to the usage of System.Drawing library in ASP.NET services. The most common answer is that Microsoft does not recommend the usage of System.Drawing in ASP.NET services. In this article, you will learn details about using the interface of System.Drawing library in ASP.NET services with Aspose.Drawing for .NET. The following sections structure all the relevant information:
Apply Matrix, Global, Local, World Coordinate Transformation in C#
Coordinate systems are important while working with graphics and shapes. The coordinate axis can be rotated for obtaining new axes through the same origin. Let us explore the following coordinate transformations including Matrix, Global, Local, and World transformations programmatically using C# language. Moreover, you will be able to understand the following transformations after going through this article:
Add, Insert, or Draw Text on PNG, JPEG, TIFF, Icon, GIF Image using C#
We see or create a lot of images for visual information. Sometimes you need to add or draw text on an image in such a manner that nobody else can modify that text. Image watermark is one of the most common examples. Likewise, labeling or reviewing images may also require drawing text.