mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-29 18:37:23 +08:00
transpose error for exr
This commit is contained in:
parent
c77b36d98f
commit
7069f6a92f
@ -1116,7 +1116,6 @@ class SaveImageAdvanced(IO.ComfyNode):
|
|||||||
if is_planar:
|
if is_planar:
|
||||||
if av_fmt.startswith('gbr'):
|
if av_fmt.startswith('gbr'):
|
||||||
img_np = img_np[:, :, [1, 2, 0, 3]] if has_alpha else img_np[:, :, [1, 2, 0]]
|
img_np = img_np[:, :, [1, 2, 0, 3]] if has_alpha else img_np[:, :, [1, 2, 0]]
|
||||||
img_np = img_np.transpose(2, 0, 1)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
frame = av.VideoFrame.from_ndarray(img_np, format=av_fmt)
|
frame = av.VideoFrame.from_ndarray(img_np, format=av_fmt)
|
||||||
@ -1194,7 +1193,6 @@ class ImagesExtension(ComfyExtension):
|
|||||||
ImageScaleToMaxDimension,
|
ImageScaleToMaxDimension,
|
||||||
SplitImageToTileList,
|
SplitImageToTileList,
|
||||||
ImageMergeTileList,
|
ImageMergeTileList,
|
||||||
SaveImageAdvanced
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user