Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Thumbnail

import type { Thumbnail } from "https://googleapis.deno.dev/v1/toolresults:v1beta3.ts";

A single thumbnail, with its size and format.

interface Thumbnail {
contentType?: string;
data?: Uint8Array;
heightPx?: number;
widthPx?: number;
}

§Properties

§
contentType?: string
[src]

The thumbnail's content type, i.e. "image/png". Always set.

§
data?: Uint8Array
[src]

The thumbnail file itself. That is, the bytes here are precisely the bytes that make up the thumbnail file; they can be served as an image as-is (with the appropriate content type.) Always set.

§
heightPx?: number
[src]

The height of the thumbnail, in pixels. Always set.

§
widthPx?: number
[src]

The width of the thumbnail, in pixels. Always set.