zplCore.comzplCore.com

VectorLiftResult

public sealed class VectorLiftResult

Result of a Vector-Lift conversion of one page.

Constructors

SignatureDescription
# VectorLiftResult()

Properties

PropertyTypeDescription
BarcodesMatch { get; }boolAll barcodes regenerated natively decode to the original data (true when there are none).
Comparison { get; init; }ImageComparison
DiffPng { get; init; }byte[]Diff overlay (black = both, red = only original, blue = only lifted).
required Dpi { get; init; }int
required DpiSource { get; init; }stringHow VectorLiftResult.Dpi was chosen ("option", "image resolution", "barcode modules", "default").
required Elements { get; init; }IReadOnlyList<LiftedElement>
Fidelity { get; }double?Overall pixel fidelity (0–1, F-score of ink within VectorLiftOptions.CompareTolerance) – null when not measured.
FidelityExact { get; init; }double?Fidelity at 0 px tolerance.
required HeightDots { get; init; }int
required NativeInkShare { get; init; }doubleShare of the original ink reproduced with native commands (0–1).
OriginalPng { get; init; }byte[]PNG of the original rasterized at the label resolution (with VectorLiftOptions.IncludeImages).
Page { get; init; }intPage (1-based) for PDF input.
required RasterZplBytes { get; init; }intSize of the same label as one full-page ^GF raster (same compression) in bytes.
RenderedPng { get; init; }byte[]PNG of the lifted ZPL rendered with zplCore.
SharpnessNote { get; }stringPrint-quality note: how much of the label the printer generates itself (sharp at any resolution, rescalable with ZplRescaler) and how much is a fixed graphic at VectorLiftResult.Dpi.
required Warnings { get; init; }IReadOnlyList<string>
required WidthDots { get; init; }int
required Zpl { get; init; }stringThe label as ZPL (^XA…^XZ).
ZplBytes { get; }intSize of VectorLiftResult.Zpl in bytes (UTF-8).

Methods

Method SignatureReturnsDescription
# Count(LiftOutcome outcome)intCount of elements per outcome.
# ToJson(bool indented = true)stringMachine-readable report (no images).
# ToLabel(ImportOptions? options = default)LabelImportResultThe ZPL as editable label model (via Label.FromZpl).
# ToReport()stringHuman-readable report (one line per element).