rewriteDirectory - Class: Tiff
Write modified metadata to existing IFD
Syntax
tiffobj.rewriteDirectory()
Description
tiffobj.rewriteDirectory() writes modified
metadata (tag) data to an existing directory. Use this tag when you
want to change the value of a tag in an existing image file directory.
Examples
Open a Tiff object for modification and modify
the value of a tag. Replace myfile.tif with the
name of a TIFF file on your MATLAB path.
t = Tiff('myfile.tif', 'r');
% Modify the value of a tag.
t.setTag('Software','MATLAB');
t.rewriteDirectory();References
This method corresponds to the TIFFRewriteDirectory function
in the LibTIFF C API. To use this method, you must be familiar with
LibTIFF version 3.7.1, as well as the TIFF specification and technical
notes. View this documentation at LibTIFF - TIFF
Library and Utilities.
See Also
Tiff.writeDirectory
Tutorials
 | return | | rgb2hsv |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit