int tsmCalcChecksum (TsmHandle *tsmh, Pyramid *pyramid, tsmChecksumArray *checksum)

Calculate a pyramid's set of checksums

Documentation

Calculate a pyramid's set of checksums.

Calculates the entire checksum array for an entire pyramid, as well as for each of the pyramid levels. All of this information is put into a tsmChecksumArray. The checksum array that you pass in must be already allocated, e.g. with tsmMakeChecksum().

You can specify whether you want to check the lrbt or jpeg tiles by using tsmSetReadTileFormat().

Returns:
TRUE if calculation was successful, FALSE if it failed.
Parameters:
tsmh - the TSM session handle
pyramid - the Pyramid to be checksummed
checksum - the checksum array to fill in
Author:
Martin Reddy
Version:
3 September 1997
See Also:
tsmSetPyramidChecksum, tsmCheckSumTile, tsmCheckSumTileBuffer, tsmChecksumPyramid


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page