-
Notifications
You must be signed in to change notification settings - Fork 81
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
Files with no or other suffix are false negatives #24
Comments
No file? No code? |
Piexif checks SOI. |
You can use any jpg file. I attached one anyway. I think the check for SOI doesn't work, because the attached image starts with |
for code see #25 |
Thank you. But I want to looking for a way not to add argument. Give me a while. |
Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When performing
piexif.load()
on a valid JPEG-File named testpic.docx or testpic I get a ValueError sayingIt's a lie!
Piexif should not consider the suffix to check if the file is valid. I personally use the imghdr python module to check if a file is valid and would appreciate a check=False parameter for
piexif.load()
to skip unnecessary checks.Thanks in advance
Felix
The text was updated successfully, but these errors were encountered: