This commit is contained in:
Tomáš Mládek 2021-09-19 12:12:45 +02:00
parent 8ea2782038
commit 918e021eed

View file

@ -1,5 +1,5 @@
import { parse } from "https://deno.land/std@0.106.0/flags/mod.ts"; import { parse } from "https://deno.land/std@0.106.0/flags/mod.ts";
import { createCanvas, init } from "https://deno.land/x/canvas@v1.3.0/mod.ts"; import { createCanvas } from "https://deno.land/x/canvas@v1.3.0/mod.ts";
import { CollageModeType, collageModeType } from "../src/common/collages.ts"; import { CollageModeType, collageModeType } from "../src/common/collages.ts";
import DenoCollageModes, { import DenoCollageModes, {
CastCanvasRenderingContext, CastCanvasRenderingContext,
@ -9,8 +9,6 @@ import { CollageConfig } from "../src/common/types.ts";
import { choice, shuffle } from "../src/common/utils.ts"; import { choice, shuffle } from "../src/common/utils.ts";
import { walkSync } from "https://deno.land/std@0.107.0/fs/mod.ts"; import { walkSync } from "https://deno.land/std@0.107.0/fs/mod.ts";
const canvasKit = await init();
const args = parse(Deno.args, { const args = parse(Deno.args, {
alias: { alias: {
"w": "width", "w": "width",