function EposImageHelpers.toMonoImage toMonoImage(img: EposImageData,halftone: EposImageHalftone,brightness: number,): Uint8Array Converts the image to a monochrome printer imagedata. Parameters img: EposImageData halftone: EposImageHalftone brightness: number Return Type Uint8Array