From d670d4129e950d6a1dc61dadb3e65c5710c245be Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 29 Sep 2023 13:27:23 -0700 Subject: [PATCH] use srgb --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 92940bc..fc9d48b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -318,7 +318,7 @@ fn convert(file_thing:std::fs::DirEntry) -> BoxResult<()>{ //this fails if the image dimensions are not a multiple of 4 let dds = image_dds::dds_from_image( &image, - image_dds::ImageFormat::BC7Unorm, + image_dds::ImageFormat::BC7Srgb, image_dds::Quality::Slow, image_dds::Mipmaps::GeneratedAutomatic, )?;