REST Resource: projects.videoThumbnails

  • A VideoThumbnail is a resource providing information about a video thumbnail.

  • It includes fields for name, expression, videoOptions, fileFormat, and grid.

  • The expression must evaluate to an ImageCollection to compute the video thumbnail.

  • Currently, only GIF is supported as the output encoding for the video thumbnail.

  • Methods available include create to generate an ID for rendering an animated image and getPixels to compute the result of a computation.

Resource: VideoThumbnail

Information about a video thumbnail.

JSON representation
{
  "name": string,
  "expression": {
    object (Expression)
  },
  "videoOptions": {
    object (VideoOptions)
  },
  "fileFormat": enum (VideoFileFormat),
  "grid": {
    object (PixelGrid)
  }
}
Fields
name

string

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

expression

object (Expression)

The expression to compute. Must evaluate to an ImageCollection.

videoOptions

object (VideoOptions)

Options for the animation.

fileFormat

enum (VideoFileFormat)

The output encoding in which to generate the resulting video thumbnail. Currently only GIF is supported.

grid

object (PixelGrid)

An optional pixel grid describing how the images computed by expression are reprojected and clipped.

Methods

create

Creates an ID that can be used to render an image containing an animation of multiple images from a collection.

getPixels

Computes an image showing the result of a computation.