pub fn encode_attached(pixels: &[u8], total_pixels: u32) -> Result<Vec<u8>>
Encode with tag 0x03; the returned bytes include the tag.
0x03