├── .eslintrc ├── .github └── workflows │ └── run_tests.yml ├── .gitignore ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── bin ├── crop.js ├── rasterize.js └── simple_rasterize.js ├── contrib └── ps2ascii.ps ├── example ├── test.js └── test.pdf ├── package.json ├── scissors.js └── test ├── images.js ├── pages.js ├── streams.js ├── test_data ├── commandstream.json ├── contentstream.json ├── pagesizes.json ├── propertystream.json ├── test.docx ├── test.pdf └── textstream.txt ├── test_results └── .gitignore └── testfile.js /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/run_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/.github/workflows/run_tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | doc 3 | .idea 4 | -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/README.md -------------------------------------------------------------------------------- /bin/crop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/bin/crop.js -------------------------------------------------------------------------------- /bin/rasterize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/bin/rasterize.js -------------------------------------------------------------------------------- /bin/simple_rasterize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/bin/simple_rasterize.js -------------------------------------------------------------------------------- /contrib/ps2ascii.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/contrib/ps2ascii.ps -------------------------------------------------------------------------------- /example/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/example/test.js -------------------------------------------------------------------------------- /example/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/example/test.pdf -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/package.json -------------------------------------------------------------------------------- /scissors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/scissors.js -------------------------------------------------------------------------------- /test/images.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/images.js -------------------------------------------------------------------------------- /test/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/pages.js -------------------------------------------------------------------------------- /test/streams.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/streams.js -------------------------------------------------------------------------------- /test/test_data/commandstream.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/commandstream.json -------------------------------------------------------------------------------- /test/test_data/contentstream.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/contentstream.json -------------------------------------------------------------------------------- /test/test_data/pagesizes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/pagesizes.json -------------------------------------------------------------------------------- /test/test_data/propertystream.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/propertystream.json -------------------------------------------------------------------------------- /test/test_data/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/test.docx -------------------------------------------------------------------------------- /test/test_data/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/test.pdf -------------------------------------------------------------------------------- /test/test_data/textstream.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/test_data/textstream.txt -------------------------------------------------------------------------------- /test/test_results/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/testfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcr/scissors/HEAD/test/testfile.js --------------------------------------------------------------------------------