How to read EXIF information of image data?

69 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Nov 2019
In order to read EXIF information in MATLAB from image files, please use the 'imfinfo' command which is documented here:
This returns a structure whose fields contain information about an image in a graphics file.
In the struct which will be returned, you can find the EXIF information in the 'DigitalCamera' field.
So you can access the EXIF information as follows:
%Read image information
info = imfinfo(filename);
%Output EXIF information
infoEXIF.DigitalCamera
This information is also described here:
If you have any further questions, please contact our technical support team.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!