add image scale [not tested]

This commit is contained in:
2026-03-08 14:14:57 +08:00
parent b091ad73d6
commit 27946da3f9
4 changed files with 487 additions and 0 deletions

13
image-scale/deno.json Normal file
View File

@@ -0,0 +1,13 @@
{
"nodeModulesDir": "auto",
"tasks": {
"dev": "deno run --watch main.ts",
"start": "deno run --allow-read --allow-write --allow-env --allow-ffi main.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@1",
"@std/cli": "jsr:@std/cli@1",
"@std/path": "jsr:@std/path@1",
"sharp": "npm:sharp@^0.33"
}
}