Implement grayscale DMG palette specs (#1709)

This commit is contained in:
Rangi
2025-06-30 14:53:05 -04:00
committed by GitHub
parent 5942117ac3
commit 7054d81650
21 changed files with 166 additions and 76 deletions

Binary file not shown.

View File

@@ -0,0 +1,2 @@
-d 1
-c dmg=1b

2
test/gfx/dmg_2bit.flags Normal file
View File

@@ -0,0 +1,2 @@
-c nonexistent.gpl
-c DMG=E4

BIN
test/gfx/dmg_2bit.out.2bpp Normal file

Binary file not shown.

BIN
test/gfx/dmg_2bit.out.pal Normal file

Binary file not shown.

BIN
test/gfx/dmg_2bit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

2
test/gfx/dmg_plte.flags Normal file
View File

@@ -0,0 +1,2 @@
-c embedded
-c DMG=E4

BIN
test/gfx/dmg_plte.out.2bpp Normal file

Binary file not shown.

BIN
test/gfx/dmg_plte.out.pal Normal file

Binary file not shown.

BIN
test/gfx/dmg_plte.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

View File

@@ -0,0 +1 @@
-c dmg=72