Egami.SystemDrawing 1.0.0-preview.3

This is a prerelease version of Egami.SystemDrawing.
dotnet add package Egami.SystemDrawing --version 1.0.0-preview.3
                    
NuGet\Install-Package Egami.SystemDrawing -Version 1.0.0-preview.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Egami.SystemDrawing" Version="1.0.0-preview.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Egami.SystemDrawing" Version="1.0.0-preview.3" />
                    
Directory.Packages.props
<PackageReference Include="Egami.SystemDrawing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Egami.SystemDrawing --version 1.0.0-preview.3
                    
#r "nuget: Egami.SystemDrawing, 1.0.0-preview.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Egami.SystemDrawing@1.0.0-preview.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Egami.SystemDrawing&version=1.0.0-preview.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Egami.SystemDrawing&version=1.0.0-preview.3&prerelease
                    
Install as a Cake Tool

Egami.SystemDrawing

Egami.SystemDrawing is a System.Drawing drop-in: System.Drawing.Common's API on every OS, in managed code.

  • Bitmap, Image and Icon with all 14 GDI+ pixel formats, GetPixel, SetPixel and LockBits, converted exactly as GDI+ converts them.
  • Image.FromFile, FromStream and Save through Egami's codecs, with GDI+'s pixel formats, palettes, frames, property items, ImageCodecInfo and encoder parameters.
  • Graphics with every Draw, Fill and DrawImage overload, transforms, clipping and regions, pens, brushes and GraphicsPath, measured against GDI+ on Windows.
  • Fonts and text: Font, FontFamily, StringFormat, DrawString and MeasureString laid out as GDI+ lays text out, with ClearType. Reference Egami.Fonts.Substitutes and set SystemDrawingOptions.FontSubstitutes = SubstituteFonts.Find for metric-compatible stand-ins where Windows' fonts are not installed.
  • Metafiles (WMF, EMF, EMF+), the GDI+ 1.1 effects, BufferedGraphics and ImageAnimator.
  • Swap the package reference: System.Drawing and Egami.SystemDrawing come in as implicit usings. Members that need Windows handles throw PlatformNotSupportedException and warn at compile time.

This is a preview (1.0.0-preview.3). See the System.Drawing drop-in guide for moving code over and the known differences, and the migration guide for moving on to Egami's own API.

Egami is MIT-licensed, fully managed C# for .NET 10: no native binaries, no P/Invoke and no third-party dependencies, trimming and Native AOT clean. Documentation: inexin.github.io/Egami. Source and changelog: github.com/inexin/Egami.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-preview.3 64 11/1/2026
1.0.0-preview.2 60 10/29/2026
1.0.0-preview.1 72 10/29/2026