Linux Commands Examples

A great documentation place for Linux commands

tiffinfo

print information about TIFF files


see also : pal2rgb - tiffcp - tiffcmp - tiffmedian

Synopsis

tiffinfo [ options ] input.tif ...


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
for i in $DIR/*.tif ; do
if tiffinfo $i | grep -q 'Sample: 4' ; then
true;
else
echo $i
fi
done

description

Tiffinfo displays information about files created according to the Tag Image File Format, Revision 6.0. By default, the contents of each TIFF directory in each file is displayed, with the value of each tag shown symbolically (where sensible).

options

-c

Display the colormap and color/gray response curves, if present.

-D

In addition to displaying the directory tags, read and decompress all the data in each image (but not display it).

-d

In addition to displaying the directory tags, print each byte of decompressed data in hexadecimal.

-j

Display any JPEG -related tags that are present.

-o

Set the initial TIFF directory according to the specified file offset. The file offset may be specified using the usual C-style syntax; i.e. a leading ’’0x’’ for hexadecimal and a leading ’’0’’ for octal.

-s

Display the offsets and byte counts for each data strip in a directory.

-z

Enable strip chopping when reading image data.

-#

Set the initial TIFF directory to #.


see also

pal2rgb , tiffcp , tiffcmp , tiffmedian , libtiff(3TIFF)

Libtiff library home page: http://www.remotesensing.org/libtiff/

How can this site be more helpful to YOU ?


give  feedback