Tiff Tag Reader

A one file implementation of Tag-reader for complex Tiff files.
1.3K Downloads
Updated 13 Jun 2012

View License

This function tiff_read_header can be used to read the header(s) of complex Tiff files. It implements a part of the Tiff version 5 and 6 specifications.


Info = tiff_read_header( Filename )
or
[Info,I] = tiff_read_header( Filename )

inputs,
Filename : filename of a Tif/Tiff file

outputs,
Info : Struct with Tiff tags, or in case of multiple images,
cell array with struct for every image.
I : Image Data (Only supported for non-compressed data)

Note:
SubHeaders can be found in SubIFD1,SubIFD2 ...


Literature,
http://www.awaresystems.be/imaging/tiff/tifftags/baseline.html
http://www.fileformat.info/format/tiff/corion.htm
http://www.compix.com/fileformattif.htm
http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf

Cite As

Dirk-Jan Kroon (2024). Tiff Tag Reader (https://www.mathworks.com/matlabcentral/fileexchange/36958-tiff-tag-reader), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Import and Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

fixed small bug (multiple byte counts)

1.0.0.0