ee.Image.byte

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

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