Download node_modules/@jimp/plugin-contain/index.d.ts from sweet2004/bot: direct link, hf CLI and curl.
- Browser
- Download file 479 Bytes
-
https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40jimp/plugin-contain/index.d.ts
- Command line
-
hf download hf://spaces/sweet2004/bot/node_modules/@jimp/plugin-contain/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40jimp/plugin-contain/index.d.ts
479 Bytes
| import { ImageCallback } from "@jimp/core"; | |
| interface Contain { | |
| contain(w: number, h: number, cb?: ImageCallback<this>): this; | |
| contain(w: number, h: number, mode?: string, cb?: ImageCallback<this>): this; | |
| contain( | |
| w: number, | |
| h: number, | |
| alignBits?: number, | |
| cb?: ImageCallback<this> | |
| ): this; | |
| contain( | |
| w: number, | |
| h: number, | |
| alignBits?: number, | |
| mode?: string, | |
| cb?: ImageCallback<this> | |
| ): this; | |
| } | |
| export default function (): Contain; | |