Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qoi.rs

QOI codec implemented in Rust, both as a library and CLI tool

https://qoiformat.org/

Requirements

  • Implement decoder
    • Parse 14-byte header
      • Test: missing magic bytes
      • Test: normal header
      • Test: malformed header
      • Test: empty header
      • Test: massive width & height
    • Parse data chunks
      • QOI_OP_RGB
      • QOI_OP_RGBA
      • QOI_OP_RUN
      • QOI_OP_INDEX
      • QOI_OP_DIFF
      • QOI_OP_LUMA
  • Implement encoder
    • Write 14-byte header
    • Write data chunks
      • QOI_OP_RGB
      • QOI_OP_RGBA
      • QOI_OP_RUN
      • QOI_OP_INDEX
      • QOI_OP_DIFF
      • QOI_OP_LUMA

About

Image codec better than PNG, implemented in Rust

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages