ee.data.getThumbId
Get a Thumbnail Id for a given asset.
Returns the thumb ID and optional token, or null if a callback is specified.
Usage | Returns |
---|
ee.data.getThumbId(params, callback) | ThumbnailId |
Argument | Type | Details |
---|
params | ThumbnailOptions | An object containing thumbnail options with the following possible values:
image (ee.Image) The image to make a thumbnail. |
bands (array of strings) An array of band names. |
format (string) The file format ("png", "jpg", "geotiff"). |
name (string): The base name. |
Use ee.Image.getThumbURL for region, dimensions, and visualization options support. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |
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 2024-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["The `ee.data.getThumbId` function retrieves the thumbnail ID and optional token for a given Earth Engine asset."],["It requires thumbnail options as parameters, including the image, band names, file format, and base name."],["Use `ee.Image.getThumbURL` for specifying region, dimensions, and visualization parameters when generating thumbnail URLs."],["The function returns the ThumbnailId object or null if a callback function is provided."]]],[]]