mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 21:16:29 +02:00
[nodes] PanoramaPostProcessing: align compression params with ImageProcessing
This commit is contained in:
parent
20157a9a4d
commit
5743f9688b
1 changed files with 8 additions and 5 deletions
|
@ -51,19 +51,22 @@ Post process the panorama.
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='compressionMethod',
|
name='compressionMethod',
|
||||||
label='Compression Method',
|
label='Compression Method',
|
||||||
description='Compression method for output image.',
|
description='Compression method for output EXR image.',
|
||||||
value='Auto',
|
value='auto',
|
||||||
values=['None', 'Auto', 'RLE', 'ZIP', 'ZIPS', 'PIZ', 'PXR24', 'B44', 'B44A', 'DWAA', 'DWAB'],
|
values=['none', 'auto', 'rle', 'zip', 'zips', 'piz', 'pxr24', 'b44', 'b44a', 'dwaa', 'dwab'],
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.IntParam(
|
desc.IntParam(
|
||||||
name='compressionLevel',
|
name='compressionLevel',
|
||||||
label='Compression Level',
|
label='Compression Level',
|
||||||
description='Level of compression relying on the selected compression method.',
|
description='Level of compression for output EXR image, range depends on method used.\n'
|
||||||
|
'For zip/zips methods, values must be between 1 and 9.\n'
|
||||||
|
'A value of 0 will be ignored, default value for the selected method will be used.',
|
||||||
value=0,
|
value=0,
|
||||||
range=(0, 200, 1),
|
range=(0, 500, 1),
|
||||||
uid=[0],
|
uid=[0],
|
||||||
|
enabled=lambda node: node.compressionMethod.value in ['dwaa', 'dwab', 'zip', 'zips']
|
||||||
),
|
),
|
||||||
|
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue