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

Crop

import type { Crop } from "https://googleapis.deno.dev/v1/transcoder:v1.ts";

Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.

interface Crop {
bottomPixels?: number;
leftPixels?: number;
rightPixels?: number;
topPixels?: number;
}

§Properties

§
bottomPixels?: number
[src]

The number of pixels to crop from the bottom. The default is 0.

§
leftPixels?: number
[src]

The number of pixels to crop from the left. The default is 0.

§
rightPixels?: number
[src]

The number of pixels to crop from the right. The default is 0.

§
topPixels?: number
[src]

The number of pixels to crop from the top. The default is 0.