int tsmWriteAllImages ( TsmConnection oiConn, TsmConnectionParams params ) Create an image pyramid of JFIF/JPEG files
Create an image pyramid of JFIF/JPEG files.This function can be used to convert an entire pyramid of tiles for a TerraVision ortho-image dataset into a pyramid of individual tiles in JFIF/JPEG format. These JPEG versions of the image tiles are then displayable by a standard VRML browser.
The params structure lets you specify a number of additional parameters to this function. The important parameters in params are:
- TSM_PARAMS_VRML_DIR: The image files will be written to the image directory inside this localdisk directory. This parameter is required - you should always set this with before calling this function.
- TSM_PARAMS_START_LEVEL: This value specifies the lowest resolution (TerraVision style) level number at which the process should begin, e.g. if the TerraVision levels are 0..9, then a start level of 8 will begin at the second lowest resolution level. If you do not specify a value, then the lowest level will be assumed.
- TSM_PARAMS_END_LEVEL: This value specifies the highest resolution (TerraVision style) level number at which the process should stop, e.g. if the TerraVision levels are 0..9, then a start level of 1 will stop at the second highest resolution level. If you do not specify a value, then the highest level (probably 0) will be assumed.