Crates.io | libcbt |
lib.rs | libcbt |
version | 0.0.1 |
source | src |
created_at | 2022-07-16 03:04:40.550867 |
updated_at | 2022-07-16 03:04:40.550867 |
description | a library for the handling of cbt images |
homepage | https://gitlab.com/realmicrosoft/libcbt |
repository | https://gitlab.com/realmicrosoft/libcbt |
max_upload_size | |
id | 626533 |
size | 14,288 |
have you ever wanted to use a GIF animation in something like a bootloader for an operating system that just so happens to be programmed in rust? have you been annoyed by the fact that the rust gif crate is not no-std compatible?
< HEADER > < u8 Red > < u8 Green > < u8 Blue > (for each pixel)
yep, pretty much just that.
here's the header:
CBTSEX < u8 Version > < u16le width > < u16le height > < u16 frame count > < u8 packed settings >
the settings are (in little endian):
bit 1 = enable alpha channel (a new u8 after each blue value)