Merge branch 'develop' into bugfix/ociodisplay

This commit is contained in:
Jakub Ježek 2025-11-28 15:47:25 +01:00 committed by GitHub
commit bad910ee03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
80 changed files with 5008 additions and 1805 deletions

View file

@ -1556,7 +1556,8 @@ def get_oiio_input_and_channel_args(oiio_input_info, alpha_default=None):
channels_arg += ",A={}".format(float(alpha_default))
input_channels.append("A")
input_channels_str = ",".join(input_channels)
# Make sure channels are unique, but preserve order to avoid oiiotool crash
input_channels_str = ",".join(list(dict.fromkeys(input_channels)))
subimages = oiio_input_info.get("subimages")
input_arg = "-i"