SaveTileWidth property (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

float SaveTileWidth;

Overview

Refer to Saving a Bitmap to a File.

Remarks

This property influences the way TIF files are saved, based on the following:

image\sqrblit.gif If SaveTileWidth is 0, TIF files will be saved in strips (default). This is recommended, since not all programs read tiled files.

image\sqrblit.gif If SaveTileWidth is greater than the bitmap width, the file will be saved as strips.

image\sqrblit.gif If SaveTileWidth is less than the bitmap width, the file will be saved as tiles. Please note that files saved in this way may not be read by all software packages. However, LEADTOOLS will still read these files.

If TIF files are saved as tiles, the tile size might be rounded to the closest available size. The following restrictions apply when saving TIF files as tiles:

image\sqrblit.gif 1, 2, 3, 5, 6, and 7-bit images must have a tile width that is a multiple of 8.

image\sqrblit.gif 4-bit and 12-bit images must have a tile width that is a multiple of 2.

image\sqrblit.gif Other bits per pixel have no restrictions.

See Also

Elements:

Save method, SaveTileHeight property

Topics:

Raster Images: Saving Files