|
1 | 1 | __version__ = "3.3" |
2 | 2 |
|
3 | 3 | from meshroom.core import desc |
| 4 | +from meshroom.core.utils import COLORSPACES |
4 | 5 |
|
5 | 6 | import os.path |
6 | 7 |
|
@@ -497,26 +498,26 @@ class ImageProcessing(desc.AVCommandLineNode): |
497 | 498 | name="inputColorSpace", |
498 | 499 | label="Input Color Space", |
499 | 500 | description="Allows you to force the color space of the input image.", |
| 501 | + values=COLORSPACES, |
500 | 502 | value="AUTO", |
501 | | - values=["AUTO", "sRGB", "rec709", "Linear", "ACES2065-1", "ACEScg", "Linear ARRI Wide Gamut 3", "ARRI LogC3 (EI800)", "Linear ARRI Wide Gamut 4", "ARRI LogC4", "Linear BMD WideGamut Gen5", "BMDFilm WideGamut Gen5", "CanonLog2 CinemaGamut D55", "CanonLog3 CinemaGamut D55", "Linear CinemaGamut D55", "Linear V-Gamut", "V-Log V-Gamut", "Linear REDWideGamutRGB", "Log3G10 REDWideGamutRGB", "Linear Venice S-Gamut3.Cine", "S-Log3 Venice S-Gamut3.Cine"], |
502 | 503 | exclusive=True, |
503 | 504 | uid=[0], |
504 | 505 | ), |
505 | 506 | desc.ChoiceParam( |
506 | 507 | name="outputColorSpace", |
507 | 508 | label="Output Color Space", |
508 | 509 | description="Allows you to choose the color space of the output image.", |
| 510 | + values=COLORSPACES, |
509 | 511 | value="AUTO", |
510 | | - values=["AUTO", "sRGB", "rec709", "Linear", "ACES2065-1", "ACEScg", "Linear ARRI Wide Gamut 3", "ARRI LogC3 (EI800)", "Linear ARRI Wide Gamut 4", "ARRI LogC4", "Linear BMD WideGamut Gen5", "BMDFilm WideGamut Gen5", "CanonLog2 CinemaGamut D55", "CanonLog3 CinemaGamut D55", "Linear CinemaGamut D55", "Linear V-Gamut", "V-Log V-Gamut", "Linear REDWideGamutRGB", "Log3G10 REDWideGamutRGB", "Linear Venice S-Gamut3.Cine", "S-Log3 Venice S-Gamut3.Cine", "no_conversion"], |
511 | 512 | exclusive=True, |
512 | 513 | uid=[0], |
513 | 514 | ), |
514 | 515 | desc.ChoiceParam( |
515 | 516 | name="workingColorSpace", |
516 | 517 | label="Working Color Space", |
517 | 518 | description="Allows you to choose the color space in which the data are processed.", |
| 519 | + values=COLORSPACES, |
518 | 520 | value="Linear", |
519 | | - values=["sRGB", "rec709", "Linear", "ACES2065-1", "ACEScg", "Linear ARRI Wide Gamut 3", "ARRI LogC3 (EI800)", "Linear ARRI Wide Gamut 4", "ARRI LogC4", "Linear BMD WideGamut Gen5", "BMDFilm WideGamut Gen5", "CanonLog2 CinemaGamut D55", "CanonLog3 CinemaGamut D55", "Linear CinemaGamut D55", "Linear V-Gamut", "V-Log V-Gamut", "Linear REDWideGamutRGB", "Log3G10 REDWideGamutRGB", "Linear Venice S-Gamut3.Cine", "S-Log3 Venice S-Gamut3.Cine", "no_conversion"], |
520 | 521 | exclusive=True, |
521 | 522 | uid=[0], |
522 | 523 | enabled=lambda node: not node.applyDcpMetadata.value, |
|
0 commit comments