unnecessary files, fix default extension
This commit is contained in:
parent
b5a6b70c2b
commit
14efcf03a1
3 changed files with 1 additions and 9 deletions
BIN
cli/collage.jpg
BIN
cli/collage.jpg
Binary file not shown.
Before Width: | Height: | Size: 950 KiB |
|
@ -37,6 +37,6 @@ const shuffledImages = shuffle(images);
|
||||||
const segments = mode.getSegments(context as CastCanvasRenderingContext, collageConfig, shuffledImages);
|
const segments = mode.getSegments(context as CastCanvasRenderingContext, collageConfig, shuffledImages);
|
||||||
mode.place(context as CastCanvasRenderingContext, shuffledImages, segments);
|
mode.place(context as CastCanvasRenderingContext, shuffledImages, segments);
|
||||||
|
|
||||||
const output = args["output"] || "collage.jpg";
|
const output = args["output"] || "collage.png";
|
||||||
console.log(`Saving to "${output}"...`);
|
console.log(`Saving to "${output}"...`);
|
||||||
await Deno.writeFile(output, canvas.toBuffer());
|
await Deno.writeFile(output, canvas.toBuffer());
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"lib": [
|
|
||||||
"dom",
|
|
||||||
"deno.ns"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue