OutputEncoder
public static class OutputEncoderFinal output stage: post-processing (flip, paper orientation, scaling, transparent paper) and encoding of rendered labels with all format options of ZplRenderSettings.
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # Encode(IReadOnlyList<SKBitmap> labels, ZplRenderSettings s) | List<byte[]> | Post-processes and encodes all labels per ZplRenderSettings.OutputFormat. |
static # PostProcess(SKBitmap bitmap, ZplRenderSettings s) | SKBitmap | Applies ZplRenderSettings.Flip, ZplRenderSettings.PaperOrientation, ZplRenderSettings.ImageScaleX/ZplRenderSettings.ImageScaleY (image formats only) and ZplRenderSettings.TransparentBackground. Returns bitmap itself when nothing changes, otherwise a new bitmap owned by the caller. |
static # Transform(SKBitmap src, ZplFlip flip, bool rotate90) | SKBitmap | Mirrors and/or turns the bitmap 90° clockwise. |

