Apply suggestions from code review

Co-authored-by: Alexis Rolland <alexis@comfy.org>
This commit is contained in:
comfyanonymous 2026-05-18 17:44:28 -07:00 committed by GitHub
parent 0ac6480c7e
commit d4b99c0fd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1160,19 +1160,19 @@ class SaveImageAdvanced(IO.ComfyNode):
), ),
), ),
IO.DynamicCombo.Input( IO.DynamicCombo.Input(
"image_format", "format",
options=[ options=[
IO.DynamicCombo.Option("png", [ IO.DynamicCombo.Option("png", [
IO.Combo.Input("bit_depth", options=["8-bit", "16-bit"], IO.Combo.Input("bit_depth", options=["8-bit", "16-bit"],
default="8-bit", advanced=True), default="8-bit", advanced=True),
IO.Combo.Input("colorspace", options=["sRGB"], IO.Combo.Input("input_color_space", options=["sRGB"],
default="sRGB", advanced=True), default="sRGB", advanced=True),
]), ]),
IO.DynamicCombo.Option("exr", [ IO.DynamicCombo.Option("exr", [
IO.Combo.Input("bit_depth", options=["32-bit float"], IO.Combo.Input("bit_depth", options=["32-bit float"],
default="32-bit float", advanced=True), default="32-bit float", advanced=True),
IO.Combo.Input( IO.Combo.Input(
"colorspace", "input_color_space",
options=["sRGB", "HDR", "linear"], options=["sRGB", "HDR", "linear"],
default="sRGB", default="sRGB",
advanced=True, advanced=True,