KGySoft.Drawing
7.1.0
dotnet add package KGySoft.Drawing --version 7.1.0
NuGet\Install-Package KGySoft.Drawing -Version 7.1.0
<PackageReference Include="KGySoft.Drawing" Version="7.1.0" />
paket add KGySoft.Drawing --version 7.1.0
#r "nuget: KGySoft.Drawing, 7.1.0"
// Install KGySoft.Drawing as a Cake Addin
#addin nuget:?package=KGySoft.Drawing&version=7.1.0
// Install KGySoft.Drawing as a Cake Tool
#tool nuget:?package=KGySoft.Drawing&version=7.1.0
KGy SOFT Drawing Libraries offer advanced features for System.Drawing
types such as Bitmap
, Metafile
, Image
, Icon
, Graphics
.
⚠️ Warning: Version 7.0.0 introduces several breaking changes. Most importantly, the technology-agnostic and platform independent APIs have been extracted into a separated package: KGySoft.Drawing.Core.
📝 Note: In .NET 7 and above this package can be used on Windows only. When targeting earlier versions, Unix/Linux based systems are also supported (if the libgdiplus library is installed).
Main highlights:
- Fast direct native Bitmap data access for every PixelFormat
- Quantizing and dithering
- Creating GIF animations even in high color
- Several built-in icons as well as simple access to Windows associated and stock icons.
- Extracting bitmaps from multi-frame bitmaps and icons.
- Creating combined icons and multi-resolution bitmaps.
- Saving metafiles in EMF/WMF formats.
- Advanced support for saving images as Icon, BMP, JPEG, PNG, GIF and TIFF formats.
- Converting between various pixel formats preserving transparency if possible.
- Useful extensions for the Icon, Bitmap, Image, Metafile and Graphics types.
See the online help for the complete documentation or the project site for some highlighted code examples.
💡 Tip:
- For technology-agnostic solutions that can be used on any platform see the KGySoft.Drawing.Core package.
- For WPF specific solutions see the KGySoft.Drawing.Wpf package. It makes possible to obtain a managed, fast accessible bitmap data for a
WriteableBitmap
instance of any pixel format, offering all features of anIReadWriteBitmapData
for aWriteableBitmap
.- For dedicated UWP support see the KGySoft.Drawing.Uwp package.
- For dedicated WinUI support see the KGySoft.Drawing.WinUI package.
- See also the KGySoft.Drawing.Tools repository, which contains debugger visualizers built on the KGy SOFT Drawing Libraries as well as a test project, which demonstrates its features.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 2.0
- KGySoft.Drawing.Core (>= 7.1.0)
- System.Drawing.Common (>= 5.0.3)
-
.NETCoreApp 3.0
- KGySoft.Drawing.Core (>= 7.1.0)
- System.Drawing.Common (>= 5.0.3)
-
.NETFramework 3.5
- KGySoft.Drawing.Core (>= 7.1.0)
-
.NETFramework 4.0
- KGySoft.Drawing.Core (>= 7.1.0)
-
.NETStandard 2.0
- KGySoft.Drawing.Core (>= 7.1.0)
- System.Drawing.Common (>= 5.0.3)
-
net5.0
- KGySoft.Drawing.Core (>= 7.1.0)
- System.Drawing.Common (>= 6.0.0)
-
net7.0
- KGySoft.Drawing.Core (>= 7.1.0)
- System.Drawing.Common (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on KGySoft.Drawing:
Repository | Stars |
---|---|
NickeManarin/ScreenToGif
🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
|
Version | Downloads | Last updated |
---|---|---|
7.1.0 | 170 | 2/19/2023 |
7.0.0 | 1,205 | 11/11/2022 |
7.0.0-rc.2 | 57 | 10/14/2022 |
7.0.0-rc.1 | 86 | 9/23/2022 |
7.0.0-preview.3 | 82 | 8/14/2022 |
7.0.0-preview.2 | 95 | 7/24/2022 |
7.0.0-preview.1 | 81 | 6/14/2022 |
6.3.2 | 3,318 | 2/27/2022 |
6.3.1 | 415 | 2/6/2022 |
6.3.0 | 466 | 1/26/2022 |
6.2.0 | 274 | 12/29/2021 |
6.1.0 | 522 | 12/4/2021 |
6.0.0 | 624 | 11/13/2021 |
6.0.0-rc.1 | 145 | 9/29/2021 |
5.3.1 | 1,444 | 4/23/2021 |
5.3.0 | 1,079 | 10/1/2020 |
5.2.1 | 386 | 8/11/2020 |
5.2.0 | 462 | 7/25/2020 |
5.1.0 | 414 | 4/20/2020 |
5.0.0 | 734 | 3/7/2020 |
4.7.0 | 593 | 8/4/2019 |
4.6.1 | 480 | 6/16/2019 |
4.6.0 | 542 | 6/13/2019 |
See the detailed release notes here: https://github.com/koszeggy/KGySoft.Drawing/blob/master/Specific/GdiPlus/KGySoft.Drawing/changelog.txt