MATLAB: Corrupt Image

corrupt fileMATLABsimulink

What does this warning mean:
Warning: The image file directory at offset position 38 has zero entries and has been ignored. The file may be corrupt.
The warning is issued when an image(jpg) is read.

Best Answer

When IMFINFO encounters a JPEG file, it will try to determine if the JPEG has exif metadata, which is stored in the APP1 segment of the JPEG and has the same structure as TIFF metadata.
It would seem that IMFINFO detected the setup for exif in the APP1 segment, but then no tags were actually found.