mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-18 13:07:28 +08:00
remove 12-bit
This commit is contained in:
parent
e996b817cd
commit
15f993a036
@ -1072,9 +1072,7 @@ class SaveImageAdvanced(IO.ComfyNode):
|
||||
|
||||
stream.time_base = Fraction(1, 1)
|
||||
|
||||
if bit_depth == "12-bit":
|
||||
stream.pix_fmt = 'yuv420p12le'
|
||||
elif bit_depth in ["10-bit", "16-bit", "32-bit"]:
|
||||
if bit_depth in ["10-bit", "16-bit", "32-bit"]:
|
||||
stream.pix_fmt = 'yuv420p10le'
|
||||
else:
|
||||
stream.pix_fmt = 'yuv420p'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user