Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.PixelType.maxValue
Stay organized with collections
Save and categorize content based on your preferences.
Returns the maximum value of the PixelType.
Usage | Returns | PixelType.maxValue() | Number |
Argument | Type | Details | this: pixelType | PixelType | |
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\u003e\u003ccode\u003emaxValue()\u003c/code\u003e is a method that returns the maximum value of a PixelType.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on a PixelType object and requires no arguments.\u003c/p\u003e\n"],["\u003cp\u003eThe maximum value returned depends on the specific PixelType being used, such as uint8, int16, and so on.\u003c/p\u003e\n"]]],[],null,["# ee.PixelType.maxValue\n\nReturns the maximum value of the PixelType.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| PixelType.maxValue`()` | Number |\n\n| Argument | Type | Details |\n|-------------------|-----------|---------|\n| this: `pixelType` | PixelType | |"]]