mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-20 03:13:30 +00:00
Expand supported image file extensions in LoadImageSetNode
This commit is contained in:
parent
b87f55ed65
commit
d58ad2dd19
@ -144,7 +144,7 @@ class LoadImageSetNode:
|
|||||||
[
|
[
|
||||||
f
|
f
|
||||||
for f in os.listdir(folder_paths.get_input_directory())
|
for f in os.listdir(folder_paths.get_input_directory())
|
||||||
if f.endswith((".png", ".jpg", ".jpeg", ".webp"))
|
if f.endswith((".png", ".jpg", ".jpeg", ".webp", ".bmp", ".gif", ".jpe", ".apng", ".tif", ".tiff"))
|
||||||
],
|
],
|
||||||
{"image_upload": True, "allow_batch": True},
|
{"image_upload": True, "allow_batch": True},
|
||||||
)
|
)
|
||||||
@ -175,7 +175,7 @@ class LoadImageSetNode:
|
|||||||
|
|
||||||
def load_images(self, input_files, resize_method):
|
def load_images(self, input_files, resize_method):
|
||||||
input_dir = folder_paths.get_input_directory()
|
input_dir = folder_paths.get_input_directory()
|
||||||
valid_extensions = [".png", ".jpg", ".jpeg", ".webp"]
|
valid_extensions = [".png", ".jpg", ".jpeg", ".webp", ".bmp", ".gif", ".jpe", ".apng", ".tif", ".tiff"]
|
||||||
image_files = [
|
image_files = [
|
||||||
f
|
f
|
||||||
for f in input_files
|
for f in input_files
|
||||||
|
Loading…
Reference in New Issue
Block a user