Learning Rust; Implementing image formats