Announcement: All noncommercial projects registered to use Earth Engine beforeApril 15, 2025 mustverify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.

REST Resource: projects.thumbnails

  • A thumbnail resource represents information about a thumbnail.

  • The JSON representation of a thumbnail includes fields like name, expression, fileFormat, bandIds, visualizationOptions, grid, and filenamePrefix.

  • Thecreate method is used to create an ID for rendering a thumbnail image.

  • ThegetPixels method computes an image showing the result of a computation.

Resource: Thumbnail

Information about a thumbnail.

JSON representation
{"name":string,"expression":{object (Expression)},"fileFormat":enum (ImageFileFormat),"bandIds":[string],"visualizationOptions":{object (VisualizationOptions)},"grid":{object (PixelGrid)},"filenamePrefix":string}
Fields
name

string

The resource name representing the thumbnail, of the form "projects/*/thumbnails/**" (e.g. "projects/earthengine-legacy/thumbnails/").

expression

object (Expression)

The expression to compute. Must evaluate to an Image.

fileFormat

enum (ImageFileFormat)

The output encoding in which to generate the resulting image.

bandIds[]

string

If present, specifies a specific set of bands that will be selected from the result of evaluatingexpression. If not present, all bands resulting fromexpression will be selected.

visualizationOptions

object (VisualizationOptions)

If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data.

grid

object (PixelGrid)

An optional pixel grid describing how the image computed byexpression is reprojected and clipped.

filenamePrefix

string

Only used when fileFormat is ZIPPED_GEO_TIFF or ZIPPED_GEO_TIFF_PER_BAND.

Methods

create

Creates an ID that can be used to render a "thumbnail" image.

getPixels

Computes an image showing the result of a computation.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-06 UTC.