pub fn decode(data: &[u8]) -> Result<ImageData, String>
A PNG or JPEG file’s pixels, as straight-alpha RGBA, or why it has none.