mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 04:41:58 +02:00
[nodes] KeyframeSelection: Add support for several output file formats
Keyframes will be written as JPG, PNG or EXR files (by default, JPG). If EXR is the selected output extension, the storage data type can also be chosen.
This commit is contained in:
parent
d001ac638d
commit
2ea3229375
1 changed files with 24 additions and 0 deletions
|
@ -193,6 +193,30 @@ You can extract frames at regular interval by configuring only the min/maxFrameS
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name="outputExtension",
|
||||||
|
label="Keyframes File Extension",
|
||||||
|
description="File extension of the written keyframes.",
|
||||||
|
value="jpg",
|
||||||
|
values=["exr", "jpg", "png"],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name="storageDataType",
|
||||||
|
label="EXR Storage Data Type",
|
||||||
|
description="Storage image data type for keyframes written to EXR files:\n"
|
||||||
|
" * float: Use full floating point (32 bits per channel)\n"
|
||||||
|
" * half: Use half float (16 bits per channel)\n"
|
||||||
|
" * halfFinite: Use half float, but clamp values to avoid non-finite values\n"
|
||||||
|
" * auto: Use half float if all values can fit, else use full float\n",
|
||||||
|
value="float",
|
||||||
|
values=["float", "half", "halfFinite", "auto"],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
enabled=lambda node: node.outputExtension.value == "exr",
|
||||||
|
advanced=True
|
||||||
|
),
|
||||||
desc.GroupAttribute(
|
desc.GroupAttribute(
|
||||||
name="debugOptions",
|
name="debugOptions",
|
||||||
label="Debug Options",
|
label="Debug Options",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue