![]() |
VOOZH | about |
dotnet add package System.Drawing.Common --version 10.0.9
NuGet\Install-Package System.Drawing.Common -Version 10.0.9
<PackageReference Include="System.Drawing.Common" Version="10.0.9" />
<PackageVersion Include="System.Drawing.Common" Version="10.0.9" />Directory.Packages.props
<PackageReference Include="System.Drawing.Common" />Project file
paket add System.Drawing.Common --version 10.0.9
#r "nuget: System.Drawing.Common, 10.0.9"
#:package System.Drawing.Common@10.0.9
#addin nuget:?package=System.Drawing.Common&version=10.0.9Install as a Cake Addin
#tool nuget:?package=System.Drawing.Common&version=10.0.9Install as a Cake Tool
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.
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.
The following examples demonstrate some basic tasks you can accomplish with System.Drawing.Common.
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");
}
}
}
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
For more in-depth tutorials and API references, you can check the following resources:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. monoandroid10 monoandroid10 is compatible. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. monotouch10 monotouch10 is compatible. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. xamarinios10 xamarinios10 is compatible. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. xamarinmac20 xamarinmac20 is compatible. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. xamarintvos10 xamarintvos10 is compatible. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. xamarinwatchos10 xamarinwatchos10 is compatible. |
Showing the top 5 NuGet packages that depend on System.Drawing.Common:
| Package | Downloads |
|---|---|
|
DevExpress.Xpo
Target Platform/Framework: Desktop, Web, Mobile DevExpress Product Libraries Used: XPO (.NET ORM Library) (https://www.devexpress.com/xpo) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, ASP.NET & Blazor (includes DevExtreme), WPF, DevExtreme Complete, Reporting |
|
|
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard. |
|
|
CompareNETObjects
What you have been waiting for. Perform a deep compare of any two .NET objects using reflection. Shows the differences between the two objects. |
|
|
QRCoder
QRCoder is a simple library, written in C#.NET, which enables you to create QR codes. |
|
|
EPPlus.System.Drawing
Package Description |
Showing the top 20 popular GitHub repositories that depend on System.Drawing.Common:
| Repository | Stars |
|---|---|
|
PowerShell/PowerShell
PowerShell for every system!
|
|
|
NickeManarin/ScreenToGif
🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
|
|
|
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
|
|
|
Devolutions/UniGetUI
UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
|
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
BCUninstaller/Bulk-Crap-Uninstaller
Remove large amounts of unwanted applications quickly.
|
|
|
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
|
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
|
Flow-Launcher/Flow.Launcher
:mag: Quick file search & app launcher for Windows with community-made plugins
|
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
|
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
|
|
|
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 | 自动烹饪 - UI Automation Testing Tools For Genshin Impact
|
|
|
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
|
|
|
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
|
|
|
memstechtips/Winhance
Application designed to optimize, customize and enhance your Windows experience.
|
|
|
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
|
|
|
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
|
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
|
MathewSachin/Captura
Capture Screen, Audio, Cursor, Mouse Clicks and Keystrokes
|
|
|
quasar/Quasar
Remote Administration Tool for Windows
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.5.26302.115 | 1,378 | 6/9/2026 |
| 11.0.0-preview.4.26230.115 | 7,516 | 5/12/2026 |
| 11.0.0-preview.3.26207.106 | 5,637 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 7,267 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 12,695 | 2/10/2026 |
| 10.0.9 | 172,178 | 6/9/2026 |
| 10.0.8 | 909,245 | 5/12/2026 |
| 10.0.7 | 1,219,405 | 4/21/2026 |
| 10.0.6 | 443,713 | 4/14/2026 |
| 10.0.5 | 1,630,978 | 3/12/2026 |
| 10.0.4 | 168,053 | 3/10/2026 |
| 9.0.17 | 7,913 | 6/9/2026 |
| 9.0.16 | 56,048 | 5/12/2026 |
| 9.0.15 | 227,634 | 4/14/2026 |
| 9.0.14 | 165,996 | 3/10/2026 |
| 9.0.13 | 106,776 | 2/10/2026 |
| 8.0.28 | 15,619 | 6/9/2026 |
| 8.0.27 | 76,864 | 5/12/2026 |
| 8.0.26 | 120,813 | 4/14/2026 |
| 8.0.25 | 146,156 | 3/10/2026 |