Skip to content

Commit 604d349

Browse files
committed
support heif image
1 parent 82f3a05 commit 604d349

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

comfy-nodes/input_image.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
import os
88
import uuid
99
import tqdm
10+
from pillow_heif import register_heif_opener
11+
12+
register_heif_opener()
1013

1114

1215
class ShellAgentPluginInputImage:

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ pydantic
33
opencv-python
44
imageio-ffmpeg
55
brotli
6-
# logfire
6+
pillow_heif
7+
# logfire

0 commit comments

Comments
 (0)