mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Zepp OS: Add support for TGA_RGB565_MHS002SNEMAP
This commit is contained in:
+6
@@ -73,6 +73,12 @@ public enum ZeppOsBitmapFormat {
|
||||
}
|
||||
},
|
||||
|
||||
TGA_RGB565_MHS002SNEMAP(0x0a) {
|
||||
@Override
|
||||
public byte[] encode(final Bitmap bmp, final int width, final int height) {
|
||||
return BitmapUtil.convertToTgaRGB565(bmp, width, height, getTgaIdBytes(width));
|
||||
}
|
||||
},
|
||||
;
|
||||
|
||||
private final byte code;
|
||||
|
||||
Reference in New Issue
Block a user