Closed rparent closed 8 years ago
This jpeg's exif(1st IFD) is broken. I checked it on http://regex.info/exif.cgi
OK, thanks for the answer, and for the work on this package. I will check the reason why the exif is broken, it is weird...
In those cases, maybe piexif.load could load the rest of the exif with a warning if it is readable, or at least raise a clear exception indicating that the exif is broken ? Could save some time to other developers that will try to read broken exifs !
Exception... There are too many cases that exif are broken. I could support this case, but other cases, I can't support them until it happens.
The same thing happens to this image even though the http://regex.info/exif.cgi manages to extract the exif. Any ideas?
II am reading several images coming from the same device (which means the EXIF version should be the same for each image), and sometimes the exif loading works fine but sometimes I get the following error :
If it can help, this seems to happen only at a certain orientation (exif orientation = 6).
Here is an example image which gives me this error.