PortableGdi 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package PortableGdi --version 0.0.1                
NuGet\Install-Package PortableGdi -Version 0.0.1                
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="PortableGdi" Version="0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PortableGdi --version 0.0.1                
#r "nuget: PortableGdi, 0.0.1"                
#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.
// Install PortableGdi as a Cake Addin
#addin nuget:?package=PortableGdi&version=0.0.1

// Install PortableGdi as a Cake Tool
#tool nuget:?package=PortableGdi&version=0.0.1                

Portable GDI

This project is an attempt to produce a library that fulfills the System.Drawing namespace in DotNetStandard without any external dependencies (including having no system library dependencies)

Status

Various parts of the system work to some degree, but there is still a lot missing

Imaging

Most image formats can be loaded. Most formats can be written (not JPEG yet). Some color spaces are supported, but many are not. Many less common image format modes are not supported

Drawing

Drawing is supported against bitmap targets. 24bit RGB is the only fully supported bit depth at present. Many drawing primitives are yet to be supported. Smoothing and composite modes are ignored, output is always anti-aliased.

Fonts

Basic loading and rendering of fonts is available. Many measurements are not yet correct. Fall-back rendering of glyphs is not supported. Fonts are read from system defined directories.

Goals and non-goals

The primary goal is to support software that requires System.Drawing functionality and may be deployed across multiple platforms (including servers and containers)

This is part of the wider 'Form8sn' project, so should eventually have enough to support the reading, display and writing of PDFs.

The project does not attempt to produce pixel-perfect output exactly as GDI would, nor are we attempting to perform as well as a hand-tuned native library. This project attempts to be 'good enough'

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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 was computed.  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 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework 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. 
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
0.0.3 316 1/13/2023
0.0.2 355 11/16/2021
0.0.1 332 7/29/2021

Initial NuGet pre-releas