Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
REST Resource: projects.videoThumbnails
Stay organized with collections
Save and categorize content based on your preferences.
Resource: VideoThumbnail
Information about a video thumbnail.
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 |
|
Creates an ID that can be used to render an image containing an animation of multiple images from a collection. |
|
Computes an image showing the result of a computation. |
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 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["\u003cp\u003eVideoThumbnail resource represents information about a video thumbnail, including its name, expression, video options, file format, and grid.\u003c/p\u003e\n"],["\u003cp\u003eIt uses an expression that must evaluate to an ImageCollection to compute the video thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eCurrently, only GIF format is supported for generating the video thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eYou can create an ID to render the video thumbnail animation using the \u003ccode\u003ecreate\u003c/code\u003e method and compute the resulting image using the \u003ccode\u003egetPixels\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.videoThumbnails\n\nResource: VideoThumbnail\n------------------------\n\nInformation about a video thumbnail.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": { object (/earth-engine/reference/rest/v1alpha/Expression) }, \"videoOptions\": { object (/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat), \"grid\": { object (/earth-engine/reference/rest/v1alpha/PixelGrid) } } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name representing the video thumbnail, of the form \"projects/\\*/videoThumbnails/\\*\\*\" (e.g. \"projects/earthengine-legacy/videoThumbnails/\"). |\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1alpha/Expression)`)` The expression to compute. Must evaluate to an ImageCollection. |\n| `videoOptions` | `object (`[VideoOptions](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions)`)` Options for the animation. |\n| `fileFormat` | `enum (`[VideoFileFormat](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat)`)` The output encoding in which to generate the resulting video thumbnail. Currently only GIF is supported. |\n| `grid` | `object (`[PixelGrid](/earth-engine/reference/rest/v1alpha/PixelGrid)`)` An optional pixel grid describing how the images computed by `expression` are reprojected and clipped. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| ### [create](/earth-engine/reference/rest/v1alpha/projects.videoThumbnails/create) | Creates an ID that can be used to render an image containing an animation of multiple images from a collection. |\n| ### [getPixels](/earth-engine/reference/rest/v1alpha/projects.videoThumbnails/getPixels) | Computes an image showing the result of a computation. |"]]