Bitbeans.Zpl.SkiaSharp 1.1.0

dotnet add package Bitbeans.Zpl.SkiaSharp --version 1.1.0
                    
NuGet\Install-Package Bitbeans.Zpl.SkiaSharp -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="Bitbeans.Zpl.SkiaSharp" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitbeans.Zpl.SkiaSharp" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Bitbeans.Zpl.SkiaSharp" />
                    
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 Bitbeans.Zpl.SkiaSharp --version 1.1.0
                    
#r "nuget: Bitbeans.Zpl.SkiaSharp, 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.
#:package Bitbeans.Zpl.SkiaSharp@1.1.0
                    
#: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=Bitbeans.Zpl.SkiaSharp&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Bitbeans.Zpl.SkiaSharp&version=1.1.0
                    
Install as a Cake Tool

Bitbeans.Zpl.SkiaSharp

SkiaSharp based IImageConverter for Bitbeans.Zpl: convert PNG, JPEG, BMP, GIF or WebP images into Zebra graphics - without ImageSharp.

using Bitbeans.Zpl;
using Bitbeans.Zpl.Elements;
using Bitbeans.Zpl.SkiaSharp;

var converter = new SkiaImageConverter(threshold: 128);

var engine = new ZplEngine
{
    new ZplDownloadGraphics('R', "LOGO", File.ReadAllBytes("logo.png"), converter, ZplCompressionScheme.Z64),
    new ZplRecallGraphic(50, 50, 'R', "LOGO"),
};

string zpl = engine.ToZplString(new ZplRenderOptions());
  • Transparent pixels are composed onto white
  • Images are scaled with a Mitchell cubic filter when source and target dpi differ
  • On Linux, add a SkiaSharp native package to the application: SkiaSharp.NativeAssets.Linux (needs libfontconfig1) or SkiaSharp.NativeAssets.Linux.NoDependencies (minimal container images), see https://github.com/bitbeans/Bitbeans.Zpl/blob/main/docs/viewer.md#linux

Documentation: https://github.com/bitbeans/Bitbeans.Zpl/blob/main/docs/images.md

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 (1)

Showing the top 1 NuGet packages that depend on Bitbeans.Zpl.SkiaSharp:

Package Downloads
Bitbeans.Zpl.Viewer

Render ZPL II labels to PNG/JPEG with SkiaSharp, an offline alternative to labelary.com. No ImageSharp dependency.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 117 10/30/2026
1.0.0 68 10/30/2026