Egami.SystemDrawing
1.0.0-preview.3
dotnet add package Egami.SystemDrawing --version 1.0.0-preview.3
NuGet\Install-Package Egami.SystemDrawing -Version 1.0.0-preview.3
<PackageReference Include="Egami.SystemDrawing" Version="1.0.0-preview.3" />
<PackageVersion Include="Egami.SystemDrawing" Version="1.0.0-preview.3" />
<PackageReference Include="Egami.SystemDrawing" />
paket add Egami.SystemDrawing --version 1.0.0-preview.3
#r "nuget: Egami.SystemDrawing, 1.0.0-preview.3"
#:package Egami.SystemDrawing@1.0.0-preview.3
#addin nuget:?package=Egami.SystemDrawing&version=1.0.0-preview.3&prerelease
#tool nuget:?package=Egami.SystemDrawing&version=1.0.0-preview.3&prerelease
Egami.SystemDrawing
Egami.SystemDrawing is a System.Drawing drop-in: System.Drawing.Common's API on every OS, in managed code.
Bitmap,ImageandIconwith all 14 GDI+ pixel formats,GetPixel,SetPixelandLockBits, converted exactly as GDI+ converts them.Image.FromFile,FromStreamandSavethrough Egami's codecs, with GDI+'s pixel formats, palettes, frames, property items,ImageCodecInfoand encoder parameters.Graphicswith every Draw, Fill and DrawImage overload, transforms, clipping and regions, pens, brushes andGraphicsPath, measured against GDI+ on Windows.- Fonts and text:
Font,FontFamily,StringFormat,DrawStringandMeasureStringlaid out as GDI+ lays text out, with ClearType. Reference Egami.Fonts.Substitutes and setSystemDrawingOptions.FontSubstitutes = SubstituteFonts.Findfor metric-compatible stand-ins where Windows' fonts are not installed. - Metafiles (WMF, EMF, EMF+), the GDI+ 1.1 effects,
BufferedGraphicsandImageAnimator. - Swap the package reference:
System.DrawingandEgami.SystemDrawingcome in as implicit usings. Members that need Windows handles throwPlatformNotSupportedExceptionand 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 | Versions 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. |
-
net10.0
- Egami (>= 1.4.0)
- Egami.Drawing (>= 1.4.0)
- Egami.Fonts (>= 1.4.0)
- Egami.Metafiles (>= 1.0.2)
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 |