diff --git a/Cargo.lock b/Cargo.lock index d5ec02b..5c06054 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -162,7 +162,7 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] name = "colorutils-rs" -version = "0.5.8" +version = "0.5.9" dependencies = [ "erydanos", "half", diff --git a/Cargo.toml b/Cargo.toml index c71c86b..9510dbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ workspace = { members = ["src/app"] } [package] name = "colorutils-rs" -version = "0.5.8" +version = "0.5.9" edition = "2021" description = "High performance utilities for color format handling and conversion." readme = "README.md" diff --git a/src/app/src/main.rs b/src/app/src/main.rs index 839fd3b..530e0cc 100644 --- a/src/app/src/main.rs +++ b/src/app/src/main.rs @@ -20,9 +20,9 @@ pub const fn shuffle(z: u32, y: u32, x: u32, w: u32) -> i32 { } fn main() { - let r = 1; - let g = 75; - let b = 1; + let r = 65; + let g = 65; + let b = 65; let rgb = Rgb::::new(r, g, b); let xyb = LAlphaBeta::from_rgb(rgb, TransferFunction::Srgb); println!("XYB {:?}", xyb); diff --git a/src/lalphabeta.rs b/src/lalphabeta.rs index 4cdc589..0d7b5e1 100644 --- a/src/lalphabeta.rs +++ b/src/lalphabeta.rs @@ -4,7 +4,7 @@ * // Use of this source code is governed by a BSD-style * // license that can be found in the LICENSE file. */ -use crate::{Rgb, TransferFunction, Xyz, SRGB_TO_XYZ_D65, XYZ_TO_SRGB_D65}; +use crate::{Rgb, SRGB_TO_XYZ_D65, TransferFunction, Xyz, XYZ_TO_SRGB_D65}; /// Represents l-alpha-beta (lαβ) colorspace #[derive(Debug, Copy, Clone, PartialOrd, PartialEq)]