mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fixed problem with image format
This commit is contained in:
parent
a1e8a5eb4c
commit
17b5a86c51
2 changed files with 11 additions and 14 deletions
|
|
@ -74,19 +74,17 @@ class CollectBlenderRender(pyblish.api.InstancePlugin):
|
|||
image_settings.file_format = "OPEN_EXR"
|
||||
elif ext == "bmp":
|
||||
image_settings.file_format = "BMP"
|
||||
elif ext == "iris":
|
||||
elif ext == "rgb":
|
||||
image_settings.file_format = "IRIS"
|
||||
elif ext == "png":
|
||||
image_settings.file_format = "PNG"
|
||||
elif ext == "jpeg":
|
||||
image_settings.file_format = "JPEG"
|
||||
elif ext == "jpeg2000":
|
||||
elif ext == "jp2":
|
||||
image_settings.file_format = "JPEG2000"
|
||||
elif ext == "tga":
|
||||
image_settings.file_format = "TARGA"
|
||||
elif ext == "tga_raw":
|
||||
image_settings.file_format = "TARGA_RAW"
|
||||
elif ext == "tiff":
|
||||
elif ext == "tif":
|
||||
image_settings.file_format = "TIFF"
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
|
|
@ -72,15 +72,14 @@
|
|||
"multiselection": false,
|
||||
"defaults": "exr",
|
||||
"enum_items": [
|
||||
{"exr": "exr"},
|
||||
{"bmp": "bmp"},
|
||||
{"iris": "iris"},
|
||||
{"png": "png"},
|
||||
{"jpeg": "jpeg"},
|
||||
{"jpeg2000": "jpeg2000"},
|
||||
{"tga": "tga"},
|
||||
{"tga_raw": "tga_raw"},
|
||||
{"tiff": "tiff"}
|
||||
{"exr": "OpenEXR"},
|
||||
{"bmp": "BMP"},
|
||||
{"rgb": "Iris"},
|
||||
{"png": "PNG"},
|
||||
{"jpg": "JPEG"},
|
||||
{"jp2": "JPEG 2000"},
|
||||
{"tga": "Targa"},
|
||||
{"tif": "TIFF"}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue