upload image exif metadata issue bug fix
Open
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
when i do some test, i just found this image has some warning issue with exiftool,the metadata warning appear ,and when upload on comfyUI image upload node, it will pop up some error messages like not a TIFF file(header b'http://n not valid), which i believe is the pillow python package issue. anyway, i just add the code as below in nodes.py at 1470 lines:
image_data = list(img.getdata())
image_without_exif = Image.new(img.mode, img.size)
image_without_exif.putdata(image_data)
img = image_without_exif
anyone has a better solution let me know

Contributor guide
Assessment
This issue has not been assessed yet.