Writing EXIF data to JPG

30 次查看(过去 30 天)
Mohammad Abouali
Mohammad Abouali 2014-8-27
Hi,
How can I write EXIF data to a jpg file within matlab?
I searched on internet and there are tones of answer, but it seems they all use exiftool which is a command prompt tool that can be used to read write exif data. There are some files on Matlab FileExchange Central that also provide a wrapper to that tool. However, I was wondering if MATLAB supports this internally.

回答(1 个)

Bruno Pop-Stefanov
Bruno Pop-Stefanov 2014-8-29
No, unfortunately, there is currently no off-the-shelf functionality to write EXIF data to an image file in MATLAB. You can only read EXIF data from an image file ( exifread and imfinfo ).
If this is something that you would like to see in MATLAB, send an enhancement request to support@mathworks.com.
As you already discovered, you can use run_exiftool from the FileExchange.

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by