├── .eslintignore ├── .eslintrc.cjs ├── .gitattributes ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── demo ├── assets │ ├── index.13524b4f.js │ ├── index.71928674.css │ └── vendor.8891ea9d.js └── index.html ├── dist ├── image-process.es.js ├── image-process.umd.js └── index.html ├── docs ├── README.md ├── canvas-drawimage.jpg └── ja_JP.md ├── package.json ├── packages ├── core │ ├── package.json │ ├── scripts │ │ ├── after-build.js │ │ ├── create-docs.js │ │ └── i18n.properties │ ├── src │ │ ├── handle-image-file.ts │ │ ├── handle-video-file.ts │ │ ├── index.ts │ │ └── options.ts │ ├── types.d.ts │ └── vite.config.ts └── demo │ ├── .eslintrc.cjs │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ ├── components │ │ ├── App.vue │ │ ├── AsideWrapper.vue │ │ ├── HeaderWrapper.vue │ │ └── MainWrapper.vue │ ├── index.ts │ ├── store.ts │ └── style.scss │ ├── tsconfig.json │ ├── vite-env.d.ts │ └── vite.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── scripts └── git-commit.js ├── tsconfig.json ├── tsconfig.node.json ├── types └── index.d.ts └── vite-env.d.ts /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | demo/ -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | # 获取项目路径 5 | DIR=`pwd` 6 | 7 | # 启用CI。默认情况下,CI操作处于禁用状态 8 | exec < /dev/tty 9 | 10 | # 执行提交前的处理脚本 11 | GIT_PARAMS="$DIR/$1" node scripts/git-commit.js 12 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx pretty-quick --staged 5 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/README.md -------------------------------------------------------------------------------- /demo/assets/index.13524b4f.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/demo/assets/index.13524b4f.js -------------------------------------------------------------------------------- /demo/assets/index.71928674.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/demo/assets/index.71928674.css -------------------------------------------------------------------------------- /demo/assets/vendor.8891ea9d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/demo/assets/vendor.8891ea9d.js -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/demo/index.html -------------------------------------------------------------------------------- /dist/image-process.es.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/dist/image-process.es.js -------------------------------------------------------------------------------- /dist/image-process.umd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/dist/image-process.umd.js -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/dist/index.html -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/canvas-drawimage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/docs/canvas-drawimage.jpg -------------------------------------------------------------------------------- /docs/ja_JP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/docs/ja_JP.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/package.json -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/scripts/after-build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/scripts/after-build.js -------------------------------------------------------------------------------- /packages/core/scripts/create-docs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/scripts/create-docs.js -------------------------------------------------------------------------------- /packages/core/scripts/i18n.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/scripts/i18n.properties -------------------------------------------------------------------------------- /packages/core/src/handle-image-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/src/handle-image-file.ts -------------------------------------------------------------------------------- /packages/core/src/handle-video-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/src/handle-video-file.ts -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/src/options.ts -------------------------------------------------------------------------------- /packages/core/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/types.d.ts -------------------------------------------------------------------------------- /packages/core/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/core/vite.config.ts -------------------------------------------------------------------------------- /packages/demo/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/.eslintrc.cjs -------------------------------------------------------------------------------- /packages/demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/README.md -------------------------------------------------------------------------------- /packages/demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/index.html -------------------------------------------------------------------------------- /packages/demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/package.json -------------------------------------------------------------------------------- /packages/demo/src/components/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/components/App.vue -------------------------------------------------------------------------------- /packages/demo/src/components/AsideWrapper.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/components/AsideWrapper.vue -------------------------------------------------------------------------------- /packages/demo/src/components/HeaderWrapper.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/components/HeaderWrapper.vue -------------------------------------------------------------------------------- /packages/demo/src/components/MainWrapper.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/components/MainWrapper.vue -------------------------------------------------------------------------------- /packages/demo/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/index.ts -------------------------------------------------------------------------------- /packages/demo/src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/store.ts -------------------------------------------------------------------------------- /packages/demo/src/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/src/style.scss -------------------------------------------------------------------------------- /packages/demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/tsconfig.json -------------------------------------------------------------------------------- /packages/demo/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/vite-env.d.ts -------------------------------------------------------------------------------- /packages/demo/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/packages/demo/vite.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /scripts/git-commit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/scripts/git-commit.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capricorncd/image-process-tools/HEAD/vite-env.d.ts --------------------------------------------------------------------------------