bigflood / dartexif

Dart package to decode Exif data from tiff, jpeg and heic files
https://pub.dev/packages/exif
MIT License
30 stars 29 forks source link

Jpg issue #22

Closed ludoo0d0a closed 3 years ago

ludoo0d0a commented 3 years ago

I receive a No exif information exception for this picture: https://user-images.githubusercontent.com/16626063/117620390-c08f4380-b170-11eb-8630-ff300692695a.jpg

with this tool (http://exif.regex.info/exif.cgi), data are read correctly.

Do you think you can investigate ? I tried but i'm a bit lost in the middle of the code/specs

Thanks

JFIF

JFIF Version    1.01
Resolution  300 pixels/inch
File — basic information derived from the file.

File Type   JPEG
File Type Extension jpg
MIME Type   image/jpeg
Encoding Process    Progressive DCT, Huffman coding
Bits Per Sample 8
Color Components    3
File Size   72 kB
Image Size  853 × 480
Y Cb Cr Sub Sampling    YCbCr4:2:0 (2 2)
Composite
This block of data is computed based upon other items. Some of it may be wildly incorrect, especially if the image has been resized.

Megapixels  0.409
bigflood commented 3 years ago

I think it is corrupt file.

no exif data found with these tool:

ludoo0d0a commented 3 years ago

Ok Thanks for having check this.