Tiff.getTagNames
Returns the names of the tags that the Tiff class supports.
Category: Data Import and Analysis > Data Import and Export
Syntax
names = Tiff.getTagNames()
Returns a cell array of tag names.
Description
This is a static method, called on the class and not on an object. It is a convenient way to check the exact spelling of a tag before passing it to getTag or setTag.
Output arguments
names- Column cell array of character vectors.
Example
First tag names
names = Tiff.getTagNames();
class(names)
names(1:3)
Output
ans = 'cell'
ans = 3×1 cell
{'SubFileType'}
{'ImageWidth' }
{'ImageLength'}