Drawing Libraries
Enhanced drawing library with technology-agnostic bitmap operations providing special support for some GDI/GDI+ types.
Highlights
Download
In Visual Studio
The preferred way is by the NuGet Package Manager in Visual Studio
- You can use either the Package Manager Console:
PM> Install-Package KGySoft.Drawing
- Or the Package Manger GUI by the Manage NuGet Packages… context menu item of the project.
Direct Download
Source Code
Demo Application and Debugger Visualizers
KGy SOFT Imaging Tools is a desktop application in the KGySoft.Drawing.Tools repository, which nicely demonstrates a sort of features of Drawing Libraries, such as quantizing and dithering, resizing, adjusting brightness, contrast and gamma, etc. The tool is packed also with some debugger visualizers for several System.Drawing
types including Bitmap
, Metafile
, Icon
, Graphics
and more.
If you use Visual Studio 2013 or newer the simplest way is to download the installer package from the VisualStudio Marketplace.
Otherwise, you can download the binaries for other versions from the GitHub repo.
Help
Browse the online documentation for examples and detailed descriptions.
Examples
Icon Manipulation
Fast Bitmap Manipulation
Managed Bitmap Data Manipulation
WriteableBitmap and Other 3rd Party Bitmap Types Support
Supporting Custom Pixel Formats
Quantizing and Dithering
Advanced GIF Encoder with High Color Support
License
This repository is under the KGy SOFT License 1.0, which is a permissive GPL-like license. It allows you to copy and redistribute the material in any medium or format for any purpose, even commercially. The only thing is not allowed is to distribute a modified material as yours: though you are free to change and re-use anything, do that by giving appropriate credit. See the LICENSE file for details.