ee.Image.toUint8

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

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