zplCore.comzplCore.com
11 types

ZplCore.Graphics

Monochrome bitmap processing, dithering (Floyd–Steinberg, Bayer, Atkinson, threshold), and ^GF / ~DG graphic compression (ACS, Z64, B64).

TypeKindSummary
DitherModeenumConversion of colour/gray images to 1 bit.
GifWriterclassMinimal GIF89a encoder (single frame, LZW). Images with at most 256 colours keep them exactly; others are reduced to a 3-3-2 RG…
GraphicCompressionenumData encoding of generated ^GF graphics.
ImageMetadataclassWrites resolution (DPI) metadata into encoded PNG (pHYs chunk) and JPEG (JFIF APP0 density) files.
MonoBitmapclassA stored 1-bit graphic (~DG, ~DY, ^GF) — 1 = black, MSB first.
PcxDecoderclassMinimal PCX reader (RLE, 1 bpp monochrome or 8 bpp palette/grayscale) for EPL GM graphics.
PngCompressionenumCompression/speed trade-off for PNG output.
PngWriterclassFast PNG encoding for label images: grayscale (8 bit) for anti-aliased black-on-white output and true 1-bit PNGs for pure black…
SvgImageclassSmall SVG rasterizer for icons and logos on labels (no dependency beyond SkiaSharp, NativeAOT-safe): path, circle, rect (also r…
ZplGraphicDecoderclassDecodes ZPL graphic data (^GF, ~DG, ~DY) into a 1-bit-per-pixel byte array (MSB first, 1 = black). Supports ASCII hex incl. Zeb…
ZplGraphicEncoderclassImage → ZPL graphic conversion with selectable dithering and ^GF data compression.