libcbt

Crates.iolibcbt
lib.rslibcbt
version0.0.1
sourcesrc
created_at2022-07-16 03:04:40.550867
updated_at2022-07-16 03:04:40.550867
descriptiona library for the handling of cbt images
homepagehttps://gitlab.com/realmicrosoft/libcbt
repositoryhttps://gitlab.com/realmicrosoft/libcbt
max_upload_size
id626533
size14,288
husky (floppydiskette)

documentation

README

libCBT

(the Compact emBedded multiple image animation file formaT)

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?

i love CBT

definition of a .cbt file

< 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)
Commit count: 17

cargo fmt