Fix inconsistent handling of transparent colors in the middle of palettes

This commit is contained in:
Rangi authored and Eldred Habert committed 2026-09-26 19:20:18 +02:00
1 parent e6e5133bcf
commit fd7715dcb0
20 files changed
+75 -56

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
error: Failed to fit tile colors [GB:07,09,05; GB:12,14,05; GB:20,21,06] in specified palettes
note: The following palette was specified:
- [GB:20,21,06; GB:12,14,05]
Conversion aborted after 1 error
Binary file not shown.
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
error: Each palette spec can only contain up to 3 colors plus the implict transparent color
Conversion aborted after 1 error
@@ -0,0 +1 @@
-c embedded
Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

+2
View File
@@ -0,0 +1,2 @@
error: Each palette spec can only contain up to 3 colors plus the implict transparent color
Conversion aborted after 1 error
@@ -0,0 +1 @@
-c gbc:middle_transparent_gbc_spec.pal
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

+2
View File
@@ -0,0 +1,2 @@
error: Each palette spec can only contain up to 3 colors plus the implict transparent color
Conversion aborted after 1 error
@@ -0,0 +1 @@
-c png:middle_transparent_png_spec.pal.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B