PictureSharp.Drawing 0.7.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package PictureSharp.Drawing --version 0.7.6
                    
NuGet\Install-Package PictureSharp.Drawing -Version 0.7.6
                    
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="PictureSharp.Drawing" Version="0.7.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PictureSharp.Drawing" Version="0.7.6" />
                    
Directory.Packages.props
<PackageReference Include="PictureSharp.Drawing" />
                    
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 PictureSharp.Drawing --version 0.7.6
                    
#r "nuget: PictureSharp.Drawing, 0.7.6"
                    
#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 PictureSharp.Drawing@0.7.6
                    
#: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=PictureSharp.Drawing&version=0.7.6
                    
Install as a Cake Addin
#tool nuget:?package=PictureSharp.Drawing&version=0.7.6
                    
Install as a Cake Tool

PictureSharp.Drawing

Copies PictureSharp images to and from System.Drawing.Bitmap (GDI+, Windows only).

using PictureSharp;
using PictureSharp.Drawing;
using Bitmap = System.Drawing.Bitmap;

using Image image = Image.Load("logo.png");
using Bitmap bitmap = image.ToBitmap();          // Format32bppArgb with straight alpha
using Image back = Image.FromBitmap(bitmap);     // any GDI+ pixel format
  • Every conversion copies; the result belongs to the caller. Row padding, bottom-up strides and resolution are handled.
  • ToBitmap writes Format32bppArgb (exact), Format32bppPArgb (premultiplied), Format24bppRgb or Format32bppRgb (alpha dropped).
  • ImageFrame.ToBitmap() copies one animation frame.

Depends only on PictureSharp and System.Drawing.Common. Guide: Adapters. License: MIT.

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
0.9.0 50 10/28/2026
0.8.5 84 10/26/2026
0.8.4 83 10/26/2026
0.8.3 83 10/26/2026
0.8.2 86 10/25/2026
0.8.1 88 10/23/2026
0.8.0 91 10/23/2026
0.7.13 90 10/22/2026
0.7.12 87 10/22/2026
0.7.10 84 10/22/2026
0.7.9 84 10/21/2026
0.7.8 89 10/21/2026
0.7.7 90 10/20/2026
0.7.6 90 10/18/2026
0.7.5 88 10/18/2026
0.7.4 89 10/18/2026
0.7.3 87 10/18/2026
0.7.2 90 10/17/2026
0.7.1 90 10/17/2026
0.7.0 83 10/17/2026
Loading failed

0.7.6: unchanged adapter, released with PictureSharp 0.7.6 (plugin decoder options). Notes: https://github.com/art-ix/PictureSharp/blob/v0.7.6/docs/releases/release-0.7.6.md