KGySoft.Drawing
8.1.0
dotnet add package KGySoft.Drawing --version 8.1.0
NuGet\Install-Package KGySoft.Drawing -Version 8.1.0
<PackageReference Include="KGySoft.Drawing" Version="8.1.0" />
paket add KGySoft.Drawing --version 8.1.0
#r "nuget: KGySoft.Drawing, 8.1.0"
// Install KGySoft.Drawing as a Cake Addin #addin nuget:?package=KGySoft.Drawing&version=8.1.0 // Install KGySoft.Drawing as a Cake Tool #tool nuget:?package=KGySoft.Drawing&version=8.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 introduced 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:
- Feel free to explore the application examples to see how to use KGy SOFT Drawing Libraries in various environments such as MAUI, UWP, WinForms, WinUI, WPF and Xamarin.
- 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.
- For SkiaSharp specific solutions see the KGySoft.Drawing.SkiaSharp package. It makes possible to obtain managed, fast accessible bitmap data for
SKBitmap
andSKPixmap
instances of any pixel format, offering allIReadWriteBitmapData
features for them. It also offers extension methods for theSKImage
,SKSurface
,SKBitmap
,SKPixmap
andSKImageInfo
classes.- 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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.0
- KGySoft.Drawing.Core (>= 8.1.0)
- System.Drawing.Common (>= 5.0.3)
-
.NETCoreApp 3.0
- KGySoft.Drawing.Core (>= 8.1.0)
- System.Drawing.Common (>= 5.0.3)
-
.NETFramework 3.5
- KGySoft.Drawing.Core (>= 8.1.0)
-
.NETFramework 4.0
- KGySoft.Drawing.Core (>= 8.1.0)
-
.NETFramework 4.6
- KGySoft.Drawing.Core (>= 8.1.0)
-
.NETStandard 2.0
- KGySoft.Drawing.Core (>= 8.1.0)
- System.Drawing.Common (>= 5.0.3)
-
.NETStandard 2.1
- KGySoft.Drawing.Core (>= 8.1.0)
- System.Drawing.Common (>= 5.0.3)
-
net5.0
- KGySoft.Drawing.Core (>= 8.1.0)
- System.Drawing.Common (>= 6.0.0)
-
net7.0
- KGySoft.Drawing.Core (>= 8.1.0)
- System.Drawing.Common (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KGySoft.Drawing:
Package | Downloads |
---|---|
JX3BOX.JX3.Image
剑网 3 客户端图形图像解析处理 |
GitHub repositories (2)
Showing the top 2 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.
|
|
SafeExamBrowser/seb-win-refactoring
Safe Exam Browser for Windows.
|
Version | Downloads | Last updated |
---|---|---|
8.1.0 | 6,667 | 2/10/2024 |
8.0.0 | 1,459 | 12/11/2023 |
8.0.0-rc.1 | 107 | 12/2/2023 |
7.2.0 | 3,660 | 5/7/2023 |
7.2.0-preview.1 | 108 | 4/24/2023 |
7.1.0 | 1,810 | 2/19/2023 |
7.0.0 | 2,793 | 11/11/2022 |
7.0.0-rc.2 | 132 | 10/14/2022 |
7.0.0-rc.1 | 168 | 9/23/2022 |
7.0.0-preview.3 | 143 | 8/14/2022 |
7.0.0-preview.2 | 158 | 7/24/2022 |
7.0.0-preview.1 | 154 | 6/14/2022 |
6.3.2 | 8,113 | 2/27/2022 |
6.3.1 | 1,998 | 2/6/2022 |
6.3.0 | 2,041 | 1/26/2022 |
6.2.0 | 1,870 | 12/29/2021 |
6.1.0 | 1,872 | 12/4/2021 |
6.0.0 | 2,056 | 11/13/2021 |
6.0.0-rc.1 | 205 | 9/29/2021 |
5.3.1 | 3,271 | 4/23/2021 |
5.3.0 | 3,874 | 10/1/2020 |
5.2.1 | 1,741 | 8/11/2020 |
5.2.0 | 1,858 | 7/25/2020 |
5.1.0 | 1,797 | 4/20/2020 |
5.0.0 | 2,142 | 3/7/2020 |
4.7.0 | 1,884 | 8/4/2019 |
4.6.1 | 1,757 | 6/16/2019 |
4.6.0 | 1,694 | 6/13/2019 |
See the detailed release notes here: https://github.com/koszeggy/KGySoft.Drawing/blob/master/Specific/GdiPlus/KGySoft.Drawing/changelog.txt