Replies: 1 comment 2 replies
-
|
Although it is not documented yet, the bitmap visualizer does support indexed colormaps. I am posting an example for a 128x128 image with a 256 lookup table so the indices are 8 bits. You need to use a recent nightly build because it was added somewhat recently. import type.color;
struct Data {
u8 imageData[128*128];
type::RGBA8 clutData[256];
} [[hex::visualize("bitmap", imageData, 128, 128, clutData)]];
Data data @ 0; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I understand there's a visualizer for RGBA but is it possible (perhaps through a plugin?) to visualize 8bit indexed color? Even if its just with a default palette it would be pretty useful for my needs.
Beta Was this translation helpful? Give feedback.
All reactions