MATLAB Answers

How to read EXIF information of image data?

39 views (last 30 days)
How to read EXIF information of image data?

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
This information is also described here:
If you have any further questions, please contact our technical support team.


Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by