mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-18 00:00:18 -07:00
18 lines
616 B
TypeScript
18 lines
616 B
TypeScript
|
|
declare interface PrintManager {
|
|
noticeElement: HTMLParagraphElement;
|
|
thresholdInput: HTMLInputElement;
|
|
bluetoothMACInput: HTMLInputElement;
|
|
deviceSelection: HTMLSelectElement;
|
|
refreshDeviceButton: HTMLButtonElement;
|
|
fileSelection: HTMLInputElement;
|
|
dummyImage: HTMLImageElement;
|
|
imagePreview: HTMLCanvasElement;
|
|
previewButton: HTMLButtonElement;
|
|
printButton: HTMLButtonElement;
|
|
monoMethod: Function;
|
|
imageDataColorToMonoSquare(data: ImageData): ImageData;
|
|
imageDataColorToMonoDiamond(data: ImageData): ImageData;
|
|
imageDataMonoToPBM(data: ImageData): Blob;
|
|
}
|