From e6e0936128858608c5cc45585be3583176d748b2 Mon Sep 17 00:00:00 2001 From: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com> Date: Thu, 30 Apr 2026 16:33:09 -0700 Subject: [PATCH] Load other jpeg formats without taking so much memory. (#13642) --- comfy_api/latest/_input_impl/video_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_api/latest/_input_impl/video_types.py b/comfy_api/latest/_input_impl/video_types.py index 9a107fb76..942278d88 100644 --- a/comfy_api/latest/_input_impl/video_types.py +++ b/comfy_api/latest/_input_impl/video_types.py @@ -290,7 +290,7 @@ class VideoFromFile(VideoInput): alphas = [] alpha_channel = True break - if frame.format.name in ("yuvj420p", "rgb24", "rgba", "pal8"): + if frame.format.name in ("yuvj420p", "yuvj422p", "yuvj444p", "rgb24", "rgba", "pal8"): process_image_format = lambda a: a.float() / 255.0 if alpha_channel: image_format = 'rgba'