Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: not a TIFF file (header b"b'Exif\\x" not valid) #36

Closed
Hechizeroz opened this issue Apr 6, 2023 · 0 comments
Closed

SyntaxError: not a TIFF file (header b"b'Exif\\x" not valid) #36

Hechizeroz opened this issue Apr 6, 2023 · 0 comments

Comments

@Hechizeroz
Copy link

Traceback (most recent call last):
File "/content/stable-diffusion-webui/modules/call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "/content/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/content/stable-diffusion-webui/modules/img2img.py", line 115, in img2img
image = ImageOps.exif_transpose(image)
File "/usr/local/lib/python3.9/dist-packages/PIL/ImageOps.py", line 590, in exif_transpose
exif = image.getexif()
File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 1455, in getexif
self._exif.load(exif_info)
File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 3719, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "/usr/local/lib/python3.9/dist-packages/PIL/TiffImagePlugin.py", line 507, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)

@Hechizeroz Hechizeroz closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant