Search Docs
Loading...
Skip to content

Interface: ThumbnailFrame

A raw RGBA video-thumbnail frame. Node has no ImageData, so this is the equivalent returned by block.generateVideoThumbnailSequence. It has the fields of ImageData, so a callback typed with ImageData accepts it.

Properties#

Property Type
data Uint8ClampedArray<ArrayBuffer>
width number
height number
colorSpace "srgb"