Earth Engine has introduced
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ee.Array.toUint8
Stay organized with collections
Save and categorize content based on your preferences.
On an element-wise basis, casts the input value to an unsigned 8-bit integer.
| Usage | Returns | Array.toUint8() | Array |
| Argument | Type | Details | this: input | Array | The input array. |
[null,null,["Last updated 2023-10-06 UTC."],[],["The provided content details an operation that casts an input array to an array of unsigned 8-bit integers, operating element-wise. The `toUint8()` function, when used on an array, returns a new array with these type conversions. It accepts one argument, `input`, which represents the original array to be transformed. The operation changes each element of input array to an unsigned 8-bit number.\n"]]