UNPKG

@logitech-mx-creative-console/webhid

Version:

An npm module for interfacing with the Logitech MX Creative Console in the browser

9 lines 361 B
/** * The default JPEG encoder. * Utilises a hidden canvas to convert a byte array buffer into a jpeg * @param buffer The buffer to convert * @param width Width of the image * @param height Hieght of the image */ export declare function encodeJPEG(buffer: Uint8Array, width: number, height: number): Promise<Uint8Array>; //# sourceMappingURL=jpeg.d.ts.map