MATLAB Answers


How to read EXIF information of image data?

How to read EXIF information of image data?

1 Answer

Answer by MathWorks Support Team on 12 Nov 2019 at 5:00
 Accepted Answer

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.