ee.Image.toByte

Casts the input value to an unsigned 8-bit integer.

UsageReturns
Image.toByte()Image
ArgumentTypeDetails
this: valueImageThe image to which the operation is applied.