├── .eslintignore ├── .eslintrc ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── eg ├── demo.gif └── example.svg ├── jest.config.js ├── package.json ├── src ├── __tests__ │ ├── imageLoader.test.ts │ └── imageProcessor.test.ts ├── imageLoader.ts ├── imageProcessor.ts ├── index.ts └── pixel.ts └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | jest.config.js -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .vscode 4 | psvg-demo.yml 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | **/__tests__/* -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/README.md -------------------------------------------------------------------------------- /eg/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/eg/demo.gif -------------------------------------------------------------------------------- /eg/example.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/eg/example.svg -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/package.json -------------------------------------------------------------------------------- /src/__tests__/imageLoader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/src/__tests__/imageLoader.test.ts -------------------------------------------------------------------------------- /src/__tests__/imageProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/src/__tests__/imageProcessor.test.ts -------------------------------------------------------------------------------- /src/imageLoader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/src/imageLoader.ts -------------------------------------------------------------------------------- /src/imageProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/src/imageProcessor.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/pixel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/src/pixel.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kagof/pixel-perfect-svg/HEAD/tsconfig.json --------------------------------------------------------------------------------