REST Resource: projects.videoThumbnails

  • A VideoThumbnail resource represents information about a video thumbnail.

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

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

  • The fileFormat field specifies the output encoding, with only GIF currently supported.

  • Methods like create and getPixels are available for interacting with VideoThumbnail resources.

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.