unsigned char* tsmMakeTileBuffer (Pyramid *pyramid)

Allocate memory to store a tile

Documentation

Allocate memory to store a tile.

tsmMakeTileBuffer malloc's a buffer large enough to hold a single (uncompressed) tile for the input pyramid.

Returns:
the allocated tile buffer, of NULL if failed
Parameters:
pyramid - the pyramid for which the tile size should be computed
Author:
Yvan Leclerc
See Also:
tsmNumBytesPerTile, tsmReMakeTileBuffer


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

Back to tsmApi Home Page