This file reads without any problem by Paint, Windows 11 Photo Viewer and exiftool.exe, but when I try to open it by this library I got
ExifLibrary.NotValidJPEGFileException: Not a valid JPEG file.
in ExifLibrary.JPEGFile..ctor(MemoryStream stream, Encoding encoding, Boolean readTrailingData)
<..>
exiftool results:
ExifTool Version Number : 12.16
File Name : file_4224.jpg
Directory : D:/OneDrive/Documents/TOImageProcessor/MicTO_TestBot/2022-06-16/source/test/753_13242391367683354
File Size : 881 KiB
File Modification Date/Time : 2022:06:15 16:15:24+03:00
File Access Date/Time : 2022:06:16 10:44:16+03:00
File Creation Date/Time : 2022:06:15 16:15:22+03:00
File Permissions : rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Exif Byte Order : Big-endian (Motorola, MM)
Make : asus
Camera Model Name : ZB633KL
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Software : msm8953_64-user 9 WW_Phone-202011271133 78 release-keys
Modify Date : 2022:06:15 13:33:57
Y Cb Cr Positioning : Centered
Exposure Time : 1/37
F Number : 1.8
Exposure Program : Not Defined
ISO : 100
Exif Version : 0220
Date/Time Original : 2022:06:15 13:33:57
Create Date : 2022:06:15 13:33:57
Components Configuration : Y, Cb, Cr, -
Shutter Speed Value : 1/37
Aperture Value : 1.8
Brightness Value : 0
Metering Mode : Average
Flash : Off, Did not fire
Focal Length : 3.6 mm
Sub Sec Time : 770561
Sub Sec Time Original : 770561
Sub Sec Time Digitized : 770561
Flashpix Version : 0100
Color Space : sRGB
Exif Image Width : 1920
Exif Image Height : 1080
Interoperability Index : R98 - DCF basic file (sRGB)
Interoperability Version : 0100
Sensing Method : One-chip color area
Scene Type : Directly photographed
Exposure Mode : Auto
White Balance : Auto
Focal Length In 35mm Format : 4 mm
Scene Capture Type : Standard
GPS Latitude Ref : North
GPS Longitude Ref : East
GPS Altitude Ref : Above Sea Level
GPS Time Stamp : 10:33:55
GPS Processing Method : ASCII
GPS Date Stamp : 2022:06:15
Compression : JPEG (old-style)
Thumbnail Offset : 1076
Thumbnail Length : 6966
Image Width : 1920
Image Height : 1080
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Aperture : 1.8
Image Size : 1920x1080
Megapixels : 2.1
Scale Factor To 35 mm Equivalent: 1.1
Shutter Speed : 1/37
Create Date : 2022:06:15 13:33:57.770561
Date/Time Original : 2022:06:15 13:33:57.770561
Modify Date : 2022:06:15 13:33:57.770561
Thumbnail Image : (Binary data 6966 bytes, use -b option to extract)
GPS Altitude : 61.7 m Above Sea Level
GPS Date/Time : 2022:06:15 10:33:55Z
GPS Latitude : 47 deg 13' 28.23" N
GPS Longitude : 38 deg 50' 41.74" E
Circle Of Confusion : 0.027 mm
Field Of View : 154.9 deg
Focal Length : 3.6 mm (35 mm equivalent: 4.0 mm)
GPS Position : 47 deg 13' 28.23" N, 38 deg 50' 41.74" E
Hyperfocal Distance : 0.27 m
Light Value : 6.9
This file reads without any problem by Paint, Windows 11 Photo Viewer and exiftool.exe, but when I try to open it by this library I got
exiftool results:
Problem file: https://drive.google.com/file/d/1FKWGHDUBXOoFNDbA8DgCbLYerIdeHohL/view?usp=sharing
P.S. Yes, I noticed that this file IS corrupted, it can be seen by a naked eye, BUT why is it important for a EXIF manipulating library?