Main Content

isTiled

Determine if image is tiled

Description

example

tf = isTiled(t) returns true if the image has a tiled layout. Otherwise the function returns false.

Examples

collapse all

Create a Tiff object for a TIFF file and check if the image in the file has a tiled organization.

t = Tiff('example.tif','r');
tf = isTiled(t)
tf = logical
   1

The image has a tiled organization.

Close the Tiff object.

close(t)

Input Arguments

collapse all

Tiff object representing a TIFF file. Use the Tiff function to create the object.

Algorithms

collapse all

References

This function corresponds to the TIFFIsTiled function in the LibTIFF C API. To use this function, you must be familiar with the TIFF specification and technical notes. View this documentation at LibTIFF - TIFF Library and Utilities.

Introduced in R2009b