@schie/fluent-zpl - v0.10.0
    Preparing search index...

    Interface ImageInlineOpts

    Options for inline images.

    This interface defines the configuration options for embedding an inline image in a ZPL label:

    • at: Position to place the image (in current label units)
    • rgba: Interleaved RGBA pixel data
    • width: Width of the image in pixels
    • height: Height of the image in pixels
    • mode: Dithering mode to use when converting to monochrome (default: "threshold")
    • threshold: Threshold value for dithering (0-255)
    • invert: Whether to invert the monochrome image
    interface ImageInlineOpts {
        at: { x: number; y: number };
        height: number;
        invert?: boolean;
        mode?: DitherMode;
        rgba: Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike>;
        threshold?: number;
        width: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    at: { x: number; y: number }
    height: number
    invert?: boolean
    mode?: DitherMode
    rgba: Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike>
    threshold?: number
    width: number