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 is a resource that represents information about a video thumbnail, allowing rendering of animations from image collections.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eexpression\u003c/code\u003e for the ImageCollection, \u003ccode\u003evideoOptions\u003c/code\u003e for animation, \u003ccode\u003efileFormat\u003c/code\u003e currently supporting GIF, and an optional \u003ccode\u003egrid\u003c/code\u003e for reprojection and clipping.\u003c/p\u003e\n"],["\u003cp\u003eUsers can utilize methods like \u003ccode\u003ecreate\u003c/code\u003e to generate an ID for rendering animation and \u003ccode\u003egetPixels\u003c/code\u003e to compute and display the resulting image.\u003c/p\u003e\n"]]],["This describes the structure and actions related to video thumbnails. Key information includes the `name` (resource identifier), `expression` (computation to generate an ImageCollection), `videoOptions` (animation settings), `fileFormat` (output encoding, currently GIF), and `grid` (reprojection/clipping). Two primary actions are `create` to generate an ID for rendering an animated image collection, and `getPixels` to compute and display the result of a specific calculation.\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/v1/Expression) }, \"videoOptions\": { object (/earth-engine/reference/rest/v1/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat), \"grid\": { object (/earth-engine/reference/rest/v1/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/v1/Expression)`)` The expression to compute. Must evaluate to an ImageCollection. |\n| `videoOptions` | `object (`[VideoOptions](/earth-engine/reference/rest/v1/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions)`)` Options for the animation. |\n| `fileFormat` | `enum (`[VideoFileFormat](/earth-engine/reference/rest/v1/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/v1/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/v1/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/v1/projects.videoThumbnails/getPixels) | Computes an image showing the result of a computation. |"]]