pub fn image_from_bytes( tex_manager: Arc<RwLock<TextureManager>>, bytes: &[u8], path: &Path, ) -> Result<(TextureId, Vec2)>