From 4013df2b7c5ade9b028682b5d2971a2be7f95eec Mon Sep 17 00:00:00 2001 From: Wacton Date: Sun, 4 Aug 2024 15:43:18 +0100 Subject: [PATCH] Update ICC example --- README.md | 4 ++-- Unicolour.Readme/Program.cs | 4 ++-- Unicolour.Readme/README.md | 4 ++-- docs/README.md | 4 ++-- docs/README_us.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f6b2ade..874bacd 100644 --- a/README.md +++ b/README.md @@ -394,8 +394,8 @@ If there is no ICC profile, or if the profile is incompatible, naive conversion ```c# using Wacton.Unicolour.Icc; -var iccConfig = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); -var config = new Configuration(iccConfiguration: iccConfig); +var fogra39 = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); +var config = new Configuration(iccConfiguration: fogra39); var navyRgb = new Unicolour(config, ColourSpace.Rgb255, 0, 0, 128); Console.WriteLine(navyRgb.Icc); // 1.0000 0.8977 0.0001 0.2867 CMYK diff --git a/Unicolour.Readme/Program.cs b/Unicolour.Readme/Program.cs index e120841..b15a58c 100644 --- a/Unicolour.Readme/Program.cs +++ b/Unicolour.Readme/Program.cs @@ -215,8 +215,8 @@ void FeatureCvd() void FeatureIcc() { - var iccConfig = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); - var config = new Configuration(iccConfiguration: iccConfig); + var fogra39 = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); + var config = new Configuration(iccConfiguration: fogra39); var navyRgb = new Unicolour(config, ColourSpace.Rgb255, 0, 0, 128); Console.WriteLine(navyRgb.Icc); // 1.0000 0.8977 0.0001 0.2867 CMYK diff --git a/Unicolour.Readme/README.md b/Unicolour.Readme/README.md index ab97504..cf7b03b 100644 --- a/Unicolour.Readme/README.md +++ b/Unicolour.Readme/README.md @@ -394,8 +394,8 @@ If there is no ICC profile, or if the profile is incompatible, naive conversion ```c# using Wacton.Unicolour.Icc; -var iccConfig = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); -var config = new Configuration(iccConfiguration: iccConfig); +var fogra39 = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); +var config = new Configuration(iccConfiguration: fogra39); var navyRgb = new Unicolour(config, ColourSpace.Rgb255, 0, 0, 128); Console.WriteLine(navyRgb.Icc); // 1.0000 0.8977 0.0001 0.2867 CMYK diff --git a/docs/README.md b/docs/README.md index 6f64d34..4695d3b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -288,8 +288,8 @@ If there is no ICC profile, or if the profile is incompatible, naive conversion ```c# using Wacton.Unicolour.Icc; -var iccConfig = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); -var config = new Configuration(iccConfiguration: iccConfig); +var fogra39 = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); +var config = new Configuration(iccConfiguration: fogra39); var navyRgb = new Unicolour(config, ColourSpace.Rgb255, 0, 0, 128); Console.WriteLine(navyRgb.Icc); // 1.0000 0.8977 0.0001 0.2867 CMYK diff --git a/docs/README_us.md b/docs/README_us.md index 2f97ed6..ce90372 100644 --- a/docs/README_us.md +++ b/docs/README_us.md @@ -288,8 +288,8 @@ If there is no ICC profile, or if the profile is incompatible, naive conversion ```c# using Wacton.Unicolour.Icc; -var iccConfig = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); -var config = new Configuration(iccConfiguration: iccConfig); +var fogra39 = new IccConfiguration("./Fogra39.icc", Intent.RelativeColorimetric); +var config = new Configuration(iccConfiguration: fogra39); var navyRgb = new Unicolour(config, ColourSpace.Rgb255, 0, 0, 128); Console.WriteLine(navyRgb.Icc); // 1.0000 0.8977 0.0001 0.2867 CMYK