From 22db31fe5e687d6e21f4f6801c3e2af584f9429f Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Wed, 20 Apr 2022 06:19:50 -0700 Subject: [PATCH] Slight cleanup. --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 06db9f0..93714b0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,7 @@ use colorbox::transfer_functions::srgb; use test_image::{GRADIENT_LEN, RES_X, RES_Y}; const VERSION: &str = env!("CARGO_PKG_VERSION"); -const LUT_LEN: usize = 1 << 17; +const LUT_LEN: usize = 1 << 12; fn main() { let args = Command::new("LUT Extractor") @@ -85,9 +85,6 @@ fn main() { gray_r.push(rgb[0]); gray_g.push(rgb[1]); gray_b.push(rgb[2]); - // gray_r.push(srgb::to_linear(rgb[0])); - // gray_g.push(srgb::to_linear(rgb[1])); - // gray_b.push(srgb::to_linear(rgb[2])); } // Write the LUT.