mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-04 03:41:56 +02:00
[nodes] ImageProcessing: split EXR and JPEG compression
This commit is contained in:
parent
bc14c0bcea
commit
20157a9a4d
1 changed files with 30 additions and 9 deletions
|
@ -523,22 +523,43 @@ Convert or apply filtering to the input images.
|
||||||
),
|
),
|
||||||
|
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='compressionMethod',
|
name='exrCompressionMethod',
|
||||||
label='Compression Method',
|
label='EXR Compression Method',
|
||||||
description='Compression method for output image.',
|
description='Compression method for EXR images.',
|
||||||
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='exrCompressionLevel',
|
||||||
label='Compression Level',
|
label='EXR Compression Level',
|
||||||
description='Level of compression relying on the selected compression method.',
|
description='Level of compression for EXR images, 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.exrCompressionMethod.value in ['dwaa', 'dwab', 'zip', 'zips']
|
||||||
|
),
|
||||||
|
|
||||||
|
desc.BoolParam(
|
||||||
|
name='jpegCompress',
|
||||||
|
label='JPEG Compress',
|
||||||
|
description='Enable JPEG compression.',
|
||||||
|
value=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
|
||||||
|
desc.IntParam(
|
||||||
|
name='jpegQuality',
|
||||||
|
label='JPEG Quality',
|
||||||
|
description='JPEG images quality after compression.',
|
||||||
|
value=90,
|
||||||
|
range=(0, 100, 1),
|
||||||
|
uid=[0],
|
||||||
|
enabled=lambda node: node.jpegCompress.value
|
||||||
),
|
),
|
||||||
|
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue