Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.PixelType.uint8
Stay organized with collections
Save and categorize content based on your preferences.
Returns the 8-bit unsigned integer pixel type.
Usage | Returns | ee.PixelType.uint8() | PixelType |
No arguments.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eReturns the data type PixelType, signifying an 8-bit unsigned integer used for representing pixel values.\u003c/p\u003e\n"],["\u003cp\u003eThis function, \u003ccode\u003eee.PixelType.uint8()\u003c/code\u003e, has no input arguments and is used to obtain the unsigned 8-bit integer pixel type.\u003c/p\u003e\n"]]],["The core content describes the functionality of `ee.PixelType.uint8()`. This method, which takes no arguments, returns a `PixelType` object representing the 8-bit unsigned integer pixel type. This indicates a specific data type for pixel values, where each pixel is represented by an 8-bit unsigned integer. It's a method for defining the data type for an image or pixel data.\n"],null,["# ee.PixelType.uint8\n\nReturns the 8-bit unsigned integer pixel type.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|-----------|\n| `ee.PixelType.uint8()` | PixelType |\n\n**No arguments.**"]]