TXI is an image format used on some Fitbit devices. This package is used to convert a raw bitmap raster to a TXI formatted image that is supported on the device.
{
width: number;
height: number;
data: Uint8ClampedArray;
}
{
rle?: boolean | 'auto';
outputFormat?: TXIOutputFormat;
}
{
RGB565 = 'RGB565',
RGBA4444 = 'RGBA4444',
RGBA6666 = 'RGBA6666',
RGBA8888 = 'RGBA8888',
A8 = 'A8',
}