ee.Image.toInt8

Casts the input value to a signed 8-bit integer.
UsageReturns
Image.toInt8()Image
ArgumentTypeDetails
this: valueImageThe image to which the operation is applied.