dataType parameter accepts one of the following strings.
- “D” - 64 bits Double
- “F” - 32 bits Float
- “I” - 32 bits signed Integer
- “S” - 16 bits signed Short
- “US” - 16 bits unsigned Short
- “B” - 8 bits unsigned Byte
If the specified
dataType is narrower than the original data type, the function will truncate the pixel values to fit the new data type range.Signatures
Parameters
The input raster.
The data type value.
Return type
The resulting raster.

