TIFF - Maple Help

TIFF (.tif, .tiff) File Format

TIFF file format

Description

 • TIFF (Tagged Image File Format) is an image data format for uncompressed raster data.
 • It is a common output format for image manipulation programs and scanning/imaging devices.
 • The commands ImageTools[Read] and ImageTools[Write] can read and write to the TIFF format. The general-purpose commands Import and Export also support this format.
 • TIFF images can be included in a Maple Document with Insert > Image.

Notes

 • Content-Type: image/tiff

Examples

Import a TIFF file from disk and view the underlying data.

 > $\mathrm{Import}\left("example/ThueMorse.tiff",\mathrm{base}=\mathrm{datadir}\right)$
 $\begin{array}{c}\left[\begin{array}{ccccccccccc}{1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {0.}& {0.}& {0.}& {0.}& {\dots }\\ {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {0.}& {0.}& {0.}& {0.}& {\dots }\\ {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {0.}& {0.}& {0.}& {0.}& {\dots }\\ {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {0.}& {0.}& {0.}& {0.}& {\dots }\\ {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {0.}& {0.}& {0.}& {0.}& {\dots }\\ {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {0.}& {0.}& {0.}& {0.}& {\dots }\\ {0.}& {0.}& {0.}& {0.}& {0.}& {0.}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {\dots }\\ {0.}& {0.}& {0.}& {0.}& {0.}& {0.}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {\dots }\\ {0.}& {0.}& {0.}& {0.}& {0.}& {0.}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {\dots }\\ {0.}& {0.}& {0.}& {0.}& {0.}& {0.}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {1.00000000000000}& {\dots }\\ {⋮}& {⋮}& {⋮}& {⋮}& {⋮}& {⋮}& {⋮}& {⋮}& {⋮}& {⋮}& {}\end{array}\right]\\ \hfill {\text{96 × 96 Array}}\end{array}$ (1)
 > $\mathrm{Import}\left("example/ThueMorse.tiff",\mathrm{base}=\mathrm{datadir},\mathrm{output}=\mathrm{embed}\right)$