mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
[nodes] Replace the list of colorspaces with the utilitary constant
This commit is contained in:
parent
a7fc167512
commit
092dcfe722
9 changed files with 27 additions and 14 deletions
|
@ -6,6 +6,7 @@ import os
|
|||
from collections import Counter
|
||||
|
||||
from meshroom.core import desc
|
||||
from meshroom.core.utils import COLORSPACES
|
||||
|
||||
def findMetadata(d, keys, defaultValue):
|
||||
v = None
|
||||
|
@ -126,8 +127,8 @@ Calibrate LDR to HDR response curve from samples.
|
|||
label="Working Color Space",
|
||||
description="Color space in which the data are processed.\n"
|
||||
"If 'auto' is selected, the working color space will be 'Linear' if RAW images are detected; otherwise, it will be set to 'sRGB'.",
|
||||
value="auto",
|
||||
values=["auto", "sRGB", "Linear", "ACES2065-1", "ACEScg"],
|
||||
values=COLORSPACES,
|
||||
value="AUTO",
|
||||
exclusive=True,
|
||||
uid=[],
|
||||
group="user", # not used directly on the command line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue