Rank: 400043 based on 0 downloads (last 30 days) and 0 file submitted
photo

Jonathan

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Jonathan View all
Updated File Comments Rating
03 Jul 2013 run_exiftool Read and write full Exif metadata from image files. A Matlab front end for ExifTool, by Phil Harvey. Author: Peter Burns

Thanks jhh, that did the tick,
For others you can get the second file, putexif.m to work by making the following changes to the else section:

%-----
test = which('exiftool.exe');
[exifdata, nf] = getexif(refname);
% Save data as image file with Matlab metadata
imwrite(dat, fname, 'quality', 100);
[exifdata2, nf2] = getexif(fname);
% Replace matadata from this file with desired tags from reference file
temp1=['"' test '" -m -tagsfromfile "',refname,'" -all:all "', fname, '"'];
status = system(temp1);

% Approximate check
[exifdata3, nf3] = getexif(fname);

% Delete extra copy of reference image file
temp3 = ['del "',fname,'_original"'];
status = system(temp3);

% Test approx. number of tags
if abs(nf3-nf2<10)
disp('Warning: Exif tags may not have been copied');
status = 1;
end
%----

I can't figure out how to suppress the output saying that '1 image files was updated' as I think it is being passed from exiftool.exe

02 Jul 2013 run_exiftool Read and write full Exif metadata from image files. A Matlab front end for ExifTool, by Phil Harvey. Author: Peter Burns

I'm having the same issue as jhh, with it not acculay running

Contact us