libcbt 0.0.1

a library for the handling of cbt images
Documentation
  • Coverage
  • 19.35%
    6 out of 31 items documented0 out of 14 items with examples
  • Size
  • Source code size: 13.96 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.98 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • floppydiskette

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)