Helper functions for getting images printed.

Enums

E
EposImageHalftone

How the image encoder should handle halftone stuff.

Functions

f
rawUtoa

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

f
toGrayImage

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

f
toMonoImage

Converts the image to a monochrome printer imagedata.

f
utoa

Uint8Array to Ascii. Similar to btoa, but safer.

Type Aliases

T
EposImageData

A minimal form of the DOM's ImageData.