Change the background clear colour? #792
-
TLDR
I'm facing a problem with my image editing software (Aseprite). Seems to be unable to export/save the image without alpha channel. This results in an opaque image having always 17 colours instead of 16, and thus, rendering the file unusable (Macro panics). I circumvented this issue by just making my "black" colour transparent, but results in a fairly ugly bugged background: If I could replace the "clear" colour with true black, instead of magenta, my problem would be solved for now. Aside, if anyone knows the way of getting rid of an unused alpha channel/colour, so the output palette ends with truly 16 colours. That would be much better. As a reference, this is the palette that Aseprite tells me that the image has: (And yes, if I export the image with the layer being a "background layer", the import macro panics saying that I have more than 16 colours). Thanks in advance, this issue is currently blocking the whole project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The second argument in |
Beta Was this translation helpful? Give feedback.
The second argument in
include_background_gfx
is the transparent colour, for example:agb/examples/the-hat-chooses-the-wizard/src/lib.rs
Line 104 in 288789f