System.Drawing.Common 11.0.0-rc.2.26504.105

System.Drawing.Common

The System.Drawing.Common package allows .NET Core and .NET 6+ applications to access GDI+ graphics functionality. This package is especially useful for porting .NET Framework applications that rely on the System.Drawing namespace.

Getting Started

To get started with System.Drawing.Common, install it using the NuGet Package Manager, the .NET CLI, or by editing your project file directly.

NOTE: If you are developing a WinForms application, you do not need to install the System.Drawing.Common package separately (to this end, you use the Sdk attribute for the Project element like <Project Sdk="Microsoft.NET.Sdk"> in the .csproj or the .vbproj file and then specify <UseWindowsForms>true</UseWindowsForms>). This package is then automatically included as part of the .NET SDK for WinForms Apps, which means you can start using the System.Drawing namespace right away in your WinForms projects.

Usage

The following examples demonstrate some basic tasks you can accomplish with System.Drawing.Common.

Create a Simple Bitmap and Save it

C#

using System.Drawing;

class Program
{
    static void Main()
    {
        using (Bitmap bitmap = new Bitmap(100, 100))
        {
            using (Graphics g = Graphics.FromImage(bitmap))
            {
                g.Clear(Color.Red);
            }
            bitmap.Save("output.bmp");
        }
    }
}

VB

Imports System.Drawing

Module Program
    Sub Main()
        Using bitmap As New Bitmap(100, 100)
            Using g As Graphics = Graphics.FromImage(bitmap)
                g.Clear(Color.Red)
            End Using
            bitmap.Save("output.bmp")
        End Using
    End Sub
End Module

Additional Documentation

For more in-depth tutorials and API references, you can check the following resources:

Feedback

Showing the top 20 packages that depend on System.Drawing.Common.

Packages Downloads
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
48
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
51
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
54
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
56
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
70
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
81
DNTCaptcha.Core
DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications.
109
EPPlus.System.Drawing
Package Description
48
EPPlus.System.Drawing
Package Description
65
GemBox.Document
GemBox.Document is a .NET component that enables developers to read, write, convert and print document files (DOCX, DOC, PDF, HTML, XPS, RTF, TXT) from .NET applications in a simple and efficient way.
43
Microsoft.Identity.Web
This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users, and protected web APIs, which optionally call downstream web APIs.
45
Microsoft.Identity.Web
This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users, and protected web APIs, which optionally call downstream web APIs.
46
Microsoft.Identity.Web.TokenCache
This package bring token cache serializers for MSAL.NET confidential client applications.
46
NPOI
.NET port of Apache POI | Contact us on telegram: https://t.me/npoidevs
63
QRCoder
Package Description
44
QRCoder
QRCoder is a simple library, written in C#.NET, which enables you to create QR codes.
63
Svg
Public fork of the C# SVG rendering library on codeplex: https://svg.codeplex.com/ This started out as a minor modification to enable the writing of proper SVG strings. But now after almost two years we have so many fixes and improvements that we decided to share our current codebase to the public in order to improve it even further. So please feel free to fork it and open pull requests for any fix, improvement or feature you add. License: Microsoft Public License: https://svg.codeplex.com/license
43
System.Windows.Extensions
Provides miscellaneous Windows-specific types Commonly Used Types: System.Security.Cryptography.X509Certificates.X509Certificate2UI System.Security.Cryptography.X509Certificates.X509SelectionFlag
265
System.Windows.Extensions
Provides miscellaneous Windows-specific types Commonly Used Types: System.Security.Cryptography.X509Certificates.X509Certificate2UI System.Security.Cryptography.X509Certificates.X509SelectionFlag When using NuGet 3.x this package requires at least version 3.4.
45
System.Windows.Extensions
Provides miscellaneous Windows-specific types Commonly Used Types: System.Security.Cryptography.X509Certificates.X509Certificate2UI System.Security.Cryptography.X509Certificates.X509SelectionFlag When using NuGet 3.x this package requires at least version 3.4.
657

.NET 10.0

.NET 11.0

.NET Framework 4.6.2

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
11.0.0-rc.3.26522.148 0 10/25/2026
11.0.0-rc.2.26504.105 1 10/29/2026
11.0.0-rc.1.26425.128 6 09/11/2026
11.0.0-preview.7.26381.103 1 08/24/2026
11.0.0-preview.6.26359.118 4 07/27/2026
11.0.0-preview.5.26302.115 4 06/15/2026
11.0.0-preview.4.26230.115 11 05/18/2026
11.0.0-preview.3.26207.106 10 04/20/2026
11.0.0-preview.2.26159.112 8 03/15/2026
11.0.0-preview.1.26104.118 14 02/14/2026
10.0.14 0 10/25/2026
10.0.13 0 10/13/2026
10.0.12 2 09/14/2026
10.0.11 1 08/24/2026
10.0.10 5 07/25/2026
10.0.9 3 06/15/2026
10.0.8 9 05/18/2026
10.0.7 8 05/04/2026
10.0.6 10 04/20/2026
10.0.5 10 03/15/2026
10.0.4 11 03/15/2026
10.0.3 13 02/11/2026
10.0.2 20 01/13/2026
10.0.1 20 12/10/2025
10.0.0 21 11/17/2025
10.0.0-rc.2.25502.107 25 10/18/2025
10.0.0-rc.1.25451.107 14 09/14/2025
10.0.0-preview.7.25380.108 19 08/14/2025
10.0.0-preview.6.25358.103 13 07/26/2025
10.0.0-preview.5.25277.114 19 06/28/2025
10.0.0-preview.4.25258.110 23 06/28/2025
10.0.0-preview.3.25173.2 17 05/05/2025
10.0.0-preview.2.25163.9 23 05/05/2025
10.0.0-preview.1.25080.3 17 03/04/2025
9.0.22 0 10/25/2026
9.0.21 0 10/13/2026
9.0.20 1 09/14/2026
9.0.19 1 08/24/2026
9.0.18 8 07/27/2026
9.0.17 9 06/19/2026
9.0.16 5 05/18/2026
9.0.15 10 04/20/2026
9.0.14 10 03/15/2026
9.0.13 8 02/14/2026
9.0.12 14 01/13/2026
9.0.11 22 11/18/2025
9.0.10 18 10/19/2025
9.0.9 17 09/14/2025
9.0.8 29 08/13/2025
9.0.7 20 07/26/2025
9.0.6 20 06/27/2025
9.0.5 31 06/13/2025
9.0.4 24 05/05/2025
9.0.3 17 05/05/2025
9.0.2 22 03/04/2025
9.0.1 31 01/24/2025
9.0.0 30 01/24/2025
9.0.0-rc.2.24474.1 19 01/24/2025
9.0.0-rc.1.24451.1 22 10/05/2024
9.0.0-preview.7.24405.4 28 10/05/2024
9.0.0-preview.6.24327.6 18 10/05/2024
9.0.0-preview.5.24306.5 14 03/04/2025
9.0.0-preview.4.24267.1 14 10/05/2024
9.0.0-preview.3.24172.9 13 03/04/2025
9.0.0-preview.2.24128.3 30 03/27/2024
9.0.0-preview.1.24081.2 21 03/17/2024
8.0.33 0 10/25/2026
8.0.32 0 10/13/2026
8.0.31 1 09/14/2026
8.0.30 1 08/24/2026
8.0.29 4 07/27/2026
8.0.28 1 06/15/2026
8.0.27 13 05/18/2026
8.0.26 12 04/20/2026
8.0.25 16 03/15/2026
8.0.24 12 02/14/2026
8.0.23 18 01/13/2026
8.0.22 21 11/18/2025
8.0.21 20 10/19/2025
8.0.20 25 09/14/2025
8.0.19 25 08/14/2025
8.0.18 21 07/26/2025
8.0.17 23 06/27/2025
8.0.16 21 07/04/2025
8.0.15 20 05/05/2025
8.0.14 17 05/05/2025
8.0.13 20 03/04/2025
8.0.12 27 03/04/2025
8.0.11 30 01/24/2025
8.0.10 23 01/24/2025
8.0.8 23 10/05/2024
8.0.7 23 10/05/2024
8.0.6 34 10/05/2024
8.0.5 24 10/05/2024
8.0.4 27 03/04/2025
8.0.3 28 03/27/2024
8.0.2 29 03/17/2024
8.0.1 26 03/17/2024
8.0.0 29 03/03/2024
8.0.0-rc.2.23479.14 25 03/04/2024
8.0.0-rc.1.23419.5 25 03/02/2024
8.0.0-preview.7.23375.5 21 03/03/2024
8.0.0-preview.6.23329.4 23 03/17/2024
8.0.0-preview.5.23280.5 26 03/04/2024
8.0.0-preview.4.23259.4 23 03/03/2024
8.0.0-preview.2.23128.3 23 03/02/2024
8.0.0-preview.1.23110.8 21 03/04/2024
7.0.0 73 08/18/2023
7.0.0-rc.2.22472.3 30 03/02/2024
7.0.0-rc.1.22426.10 18 03/03/2024
7.0.0-preview.7.22375.6 26 03/04/2024
7.0.0-preview.6.22324.4 29 03/02/2024
7.0.0-preview.5.22301.12 22 03/03/2024
7.0.0-preview.4.22229.4 23 03/05/2024
7.0.0-preview.3.22175.4 26 03/04/2024
7.0.0-preview.2.22152.2 22 03/28/2024
7.0.0-preview.1.22076.8 17 03/04/2024
6.0.2-mauipre.1.22102.15 19 03/02/2024
6.0.2-mauipre.1.22054.8 21 03/03/2024
6.0.0 270 08/18/2023
6.0.0-rc.2.21480.5 21 03/03/2024
6.0.0-rc.1.21451.13 34 03/03/2024
6.0.0-preview.7.21377.19 23 03/18/2024
6.0.0-preview.6.21352.12 24 03/03/2024
6.0.0-preview.5.21301.5 32 03/03/2024
6.0.0-preview.4.21253.7 25 03/03/2024
6.0.0-preview.3.21201.4 26 03/02/2024
6.0.0-preview.2.21154.6 25 03/19/2024
6.0.0-preview.1.21102.12 17 03/02/2024
5.0.3 32 08/18/2023
5.0.2 29 03/18/2024
5.0.1 26 03/17/2024
5.0.0 646 08/18/2023
5.0.0-rc.2.20475.5 19 03/04/2024
5.0.0-rc.1.20451.14 27 03/03/2024
5.0.0-preview.8.20407.11 18 03/07/2024
5.0.0-preview.7.20364.11 29 03/03/2024
5.0.0-preview.6.20305.6 18 03/18/2024
5.0.0-preview.5.20278.1 18 03/02/2024
5.0.0-preview.4.20251.6 23 03/03/2024
5.0.0-preview.3.20214.6 19 03/02/2024
5.0.0-preview.2.20160.6 25 03/04/2024
5.0.0-preview.1.20120.5 26 03/18/2024
4.7.3 28 03/25/2024
4.7.2 29 03/17/2024
4.7.1 32 03/17/2024
4.7.0 45 08/18/2023
4.7.0-preview3.19551.4 30 03/18/2024
4.7.0-preview2.19523.17 23 03/03/2024
4.7.0-preview1.19504.10 21 03/05/2024
4.6.2 27 03/17/2024
4.6.1 30 03/17/2024
4.6.0 31 02/14/2024
4.6.0-rc1.19456.4 20 03/05/2024
4.6.0-preview9.19421.4 28 03/03/2024
4.6.0-preview9.19416.11 22 03/04/2024
4.6.0-preview8.19405.3 22 03/04/2024
4.6.0-preview7.19362.9 21 03/19/2024
4.6.0-preview6.19303.8 28 03/05/2024
4.6.0-preview6.19264.9 26 03/05/2024
4.6.0-preview5.19224.8 23 03/03/2024
4.6.0-preview4.19212.13 20 03/03/2024
4.6.0-preview3.19128.7 22 03/03/2024
4.6.0-preview.19073.11 18 03/19/2024
4.6.0-preview.18571.3 26 03/03/2024
4.5.2 29 03/14/2024
4.5.1 32 08/18/2023
4.5.0 58 08/18/2023
4.5.0-rc1 26 03/03/2024
4.5.0-preview2-26406-04 24 03/04/2024
4.5.0-preview1-26216-02 17 03/04/2024
4.5.0-preview1-25914-04 23 03/17/2024
4.5.0-preview1-25718-03 30 03/03/2024