Available in the LEADTOOLS Imaging toolkit. |
SaveTileWidth property (Main Control)
Visual
Basic example
Visual C++ 4.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:
If SaveTileWidth is 0, TIF files will be saved in strips (default). This is recommended, since not all programs read tiled files.
If SaveTileWidth is greater than the bitmap width, the file will be saved as strips.
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:
1, 2, 3, 5, 6, and 7-bit images must have a tile width that is a multiple of 8.
4-bit and 12-bit images must have a tile width that is a multiple of 2.
Other bits per pixel have no restrictions.
See Also
Elements: Save method, SaveTileHeight property
Topics: Raster Images: Saving Files