Hazdryx.FastBitmap 1.1.0

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

// Install Hazdryx.FastBitmap as a Cake Tool
#tool nuget:?package=Hazdryx.FastBitmap&version=1.1.0

FastBitmap

A .NET Standard library which wraps the System.Drawing.Bitmap class for improved pixel read/write performance.

Benchmarks

The benchmark graph below shows just how much faster FastBitmap is. When using the fastest mode it can see speed increases up to 20,000% on a single core.

Example

// Loads image from file.
using (FastBitmap bmp = FastBitmap.FromFile("image.png"))
{
	// Gets the color of pixel 0, 0 and sets it to pixel 1, 1.
	Color c = bmp.Get(0, 0);
	bmp.Set(1, 1, c);

	// Gets the color of pixel at index 1 and sets it to index 2.
	// Using indices is faster than coordinates.
	c = bmp.Get(1);
	bmp.Set(2, c);

	// Grabbing color from index 3 and setting it to index 4.
	// Using int (ARGB32) for color is much faster than the other methods.
	int color32 = bmp.GetI(3);
	bmp.SetI(4, color32);

	// Saves image to a file.
	bmp.Save("image0.png", ImageFormat.Png);
}
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 (4)

Showing the top 4 NuGet packages that depend on Hazdryx.FastBitmap:

Package Downloads
Avyn

A .NET library for audio and video IO.

Hazdryx.FastBitmapExt

Extension methods for Hazdryx.Drawing.FastBitmap class.

Hazdryx.LightStitch

Dynamically adjust lighting brightness and color in post.

JX3BOX.JX3.Image

剑网 3 客户端图形图像解析处理

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.2 1,287 11/21/2021
1.3.1 348 10/10/2021
1.3.0 311 9/2/2021
1.2.1 359 5/7/2021
1.2.0 312 4/18/2021
1.1.1 417 9/18/2020
1.1.0 410 9/18/2020
1.0.1 568 9/17/2020
1.0.0 606 11/7/2019