mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 00:57:26 +00:00
craft-cms: gate runs white-exactness with bpc on
This commit is contained in:
@@ -20,4 +20,5 @@ md5 = { workspace = true }
|
||||
rayon = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
craft-testkit = { workspace = true }
|
||||
moxcms = "0.8"
|
||||
|
||||
@@ -115,7 +115,9 @@ fn white_is_exact_on_every_path() {
|
||||
let none = [0.0f32; 4];
|
||||
for cmyk in [Builtin::CoatedCmyk, Builtin::CoatedFogra39] {
|
||||
for intent in [Intent::Perceptual, Intent::RelativeColorimetric, Intent::Saturation] {
|
||||
for bpc in [false, true] {
|
||||
// The gate runs black point compensation on; nightly both.
|
||||
let bpcs: &[bool] = if craft_testkit::hostile::divisor() > 1 { &[true] } else { &[false, true] };
|
||||
for &bpc in bpcs {
|
||||
for precise_float in [false, true] {
|
||||
let opts = TransformOptions { intent, bpc, precise_float };
|
||||
let at = format!("{cmyk:?} {opts:?}");
|
||||
|
||||
Reference in New Issue
Block a user