From 422d0a160dab99344e09f45c35a3c3098746f260 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 2 Oct 2023 19:55:32 -0700 Subject: [PATCH] print special message for roblox xml --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 81ebeb8..fdc7391 100644 --- a/src/main.rs +++ b/src/main.rs @@ -344,6 +344,7 @@ fn load_image(input:&mut R)->AResultOk(image::load(input,image::ImageFormat::Png)?), b"\xFF\xD8\xFF\xE0"=>Ok(image::load(input,image::ImageFormat::Jpeg)?),//JFIF + b"Err(anyhow::Error::msg("Roblox xml garbage is not supported yet")), other=>Err(anyhow::Error::msg(format!("Unknown texture format {:?}",other))), } }