Files
craft-libs/crates/plate-test/scenes/M2-mask-transfer.json
aiongg 4344dfccf9 plate-test: keep short arrays and objects on one line in the scene files
Mark the krilla patch files as generated, so diffs collapse them.
2026-10-20 03:51:04 +00:00

47 lines
1.3 KiB
JSON

{
"id": "M2",
"title": "M100 under a luminosity mask with an inverting /TR: the white mask content becomes a hole",
"source": "new",
"page": [360, 216],
"settings": {"group_cs": "cmyk"},
"objects": [
{"type": "rect", "rect": [20, 20, 320, 176], "fill": {"cmyk": [100, 0, 0, 0]}},
{
"type": "rect",
"rect": [60, 40, 240, 136],
"fill": {"cmyk": [0, 100, 0, 0]},
"mask": {
"kind": "luminosity",
"transfer": [1, 0],
"content": [{"type": "rect", "rect": [140, 70, 80, 76], "fill": {"gray": 0}}]
}
}
],
"expect": {
"plates": ["Cyan", "Magenta", "Yellow", "Black"],
"points": [
{
"at": [80, 60],
"inks": {"Magenta": 100},
"tol": 2,
"note": "outside the mask content: default black backdrop, inverted to fully visible"
},
{
"at": [180, 108],
"inks": {"Cyan": 100},
"tol": 2,
"note": "white mask content, inverted: masked out"
},
{"at": [30, 30], "inks": {"Cyan": 100}, "tol": 2, "note": "cyan only"}
]
},
"structure": {
"page_group": "DeviceCMYK",
"smask": true,
"ext_g_states": [{"SMask": "Luminosity", "BC": false, "TR": true}],
"color_spaces_include": ["DeviceCMYK"],
"device_rgb": false,
"output_intents": []
}
}