namespace EposImageHelpers
Unstable

Helper functions for getting images printed.

Enums

E
EposImageHelpers.EposImageHalftone

How the image encoder should handle halftone stuff.

Functions

f
EposImageHelpers.rawUtoa

A pure JS Uint8Array Base64 encoder. You should probably use utoa instead.

f
EposImageHelpers.toGrayImage

Converts the image to a grayscale printer imagedata. Only for supported models

f
EposImageHelpers.toMonoImage

Converts the image to a monochrome printer imagedata.

f
EposImageHelpers.utoa

Uint8Array to Ascii. Similar to btoa, but safer.

Type Aliases

T
EposImageHelpers.EposImageData

A minimal form of the DOM's ImageData.