mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-26 17:07:25 +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)
|
stream.time_base = Fraction(1, 1)
|
||||||
|
|
||||||
if bit_depth == "12-bit":
|
if bit_depth in ["10-bit", "16-bit", "32-bit"]:
|
||||||
stream.pix_fmt = 'yuv420p12le'
|
|
||||||
elif bit_depth in ["10-bit", "16-bit", "32-bit"]:
|
|
||||||
stream.pix_fmt = 'yuv420p10le'
|
stream.pix_fmt = 'yuv420p10le'
|
||||||
else:
|
else:
|
||||||
stream.pix_fmt = 'yuv420p'
|
stream.pix_fmt = 'yuv420p'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user