@openclaw/whatsapp 2026.5.24-beta.2 → 2026.5.26-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{access-control-p_vcYDW7.js → access-control-otOXu5WK.js} +1 -1
- package/dist/{accounts-BPYgj8Fv.js → accounts-B3diVrr6.js} +2 -1
- package/dist/{action-runtime-DGx8vCsS.js → action-runtime-PNEpb1qb.js} +3 -3
- package/dist/action-runtime-api.js +1 -1
- package/dist/action-runtime.runtime.js +1 -1
- package/dist/api.js +9 -9
- package/dist/{approval-handler.runtime-j8U6lgcp.js → approval-handler.runtime-GXmnPxiL.js} +1 -1
- package/dist/{channel-DOxZCBxE.js → channel-DkT2UI4n.js} +8 -8
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-react-action-O7asbQQ1.js → channel-react-action-61jg4cjy.js} +3 -3
- package/dist/{channel.runtime-B0cFknwD.js → channel.runtime-BAdyJSMT.js} +3 -3
- package/dist/{channel.setup-Bk7Hmp4a.js → channel.setup-DFASG1fi.js} +2 -1
- package/dist/contract-api.js +1 -1
- package/dist/group-config-path-BGyzT9Lg.js +54 -0
- package/dist/{login-BEkrpJbZ.js → login-CympQtg8.js} +1 -1
- package/dist/{login-qr-BVRx8j_M.js → login-qr-RCP3gu1G.js} +1 -1
- package/dist/login-qr-runtime.js +1 -1
- package/dist/{monitor-BU1ydkuF.js → monitor-CdeM6e28.js} +56 -12
- package/dist/{outbound-adapter-BObZXXzU.js → outbound-adapter-76p0VEXd.js} +5 -4
- package/dist/{outbound-base-E84SMkd9.js → outbound-base-DwCUu3ab.js} +1 -1
- package/dist/{outbound-media-contract-ioTkt8tn.js → outbound-media-contract-CA2OGvjJ.js} +2 -2
- package/dist/outbound-payload-test-api.js +1 -1
- package/dist/{resolve-outbound-target-CV-iBmSG.js → resolve-outbound-target-CcdugbDf.js} +2 -1
- package/dist/runtime-api.js +5 -5
- package/dist/{send-C9jEw6hx.js → send-CAQrir3g.js} +2 -2
- package/dist/{send-api-CC-vHBWG.js → send-api-C3EWzdzp.js} +38 -9
- package/dist/{setup-core-Ce-b_wzQ.js → setup-core-B_fDLMkf.js} +9 -35
- package/dist/{setup-finalize-BqOudqJw.js → setup-finalize-CwUDT0HD.js} +3 -3
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-CAchPwW5.js → setup-surface-C4R54NEZ.js} +2 -2
- package/dist/test-api.js +1 -1
- package/node_modules/@thi.ng/bitstream/package.json +3 -3
- package/node_modules/@thi.ng/errors/package.json +2 -2
- package/node_modules/ws/lib/receiver.js +54 -0
- package/node_modules/ws/lib/websocket-server.js +8 -0
- package/node_modules/ws/lib/websocket.js +14 -0
- package/node_modules/ws/package.json +1 -1
- package/npm-shrinkwrap.json +16 -1207
- package/package.json +4 -6
- package/node_modules/@jimp/core/.tshy/build.json +0 -8
- package/node_modules/@jimp/core/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/core/.tshy/esm.json +0 -16
- package/node_modules/@jimp/core/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/core/CHANGELOG.md +0 -164
- package/node_modules/@jimp/core/LICENSE +0 -21
- package/node_modules/@jimp/core/dist/commonjs/index.d.ts +0 -1904
- package/node_modules/@jimp/core/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/index.js +0 -534
- package/node_modules/@jimp/core/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/core/dist/commonjs/utils/composite-modes.d.ts +0 -70
- package/node_modules/@jimp/core/dist/commonjs/utils/composite-modes.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/composite-modes.js +0 -236
- package/node_modules/@jimp/core/dist/commonjs/utils/composite-modes.js.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/composite.d.ts +0 -8
- package/node_modules/@jimp/core/dist/commonjs/utils/composite.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/composite.js +0 -82
- package/node_modules/@jimp/core/dist/commonjs/utils/composite.js.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/constants.d.ts +0 -85
- package/node_modules/@jimp/core/dist/commonjs/utils/constants.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/constants.js +0 -93
- package/node_modules/@jimp/core/dist/commonjs/utils/constants.js.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/image-bitmap.d.ts +0 -11
- package/node_modules/@jimp/core/dist/commonjs/utils/image-bitmap.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/image-bitmap.js +0 -129
- package/node_modules/@jimp/core/dist/commonjs/utils/image-bitmap.js.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/mime.d.ts +0 -2
- package/node_modules/@jimp/core/dist/commonjs/utils/mime.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/commonjs/utils/mime.js +0 -30
- package/node_modules/@jimp/core/dist/commonjs/utils/mime.js.map +0 -1
- package/node_modules/@jimp/core/dist/esm/index.d.ts +0 -1904
- package/node_modules/@jimp/core/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/esm/index.js +0 -511
- package/node_modules/@jimp/core/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/core/dist/esm/package.json +0 -3
- package/node_modules/@jimp/core/dist/esm/utils/composite-modes.d.ts +0 -70
- package/node_modules/@jimp/core/dist/esm/utils/composite-modes.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/composite-modes.js +0 -222
- package/node_modules/@jimp/core/dist/esm/utils/composite-modes.js.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/composite.d.ts +0 -8
- package/node_modules/@jimp/core/dist/esm/utils/composite.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/composite.js +0 -56
- package/node_modules/@jimp/core/dist/esm/utils/composite.js.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/constants.d.ts +0 -85
- package/node_modules/@jimp/core/dist/esm/utils/constants.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/constants.js +0 -90
- package/node_modules/@jimp/core/dist/esm/utils/constants.js.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/image-bitmap.d.ts +0 -11
- package/node_modules/@jimp/core/dist/esm/utils/image-bitmap.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/image-bitmap.js +0 -122
- package/node_modules/@jimp/core/dist/esm/utils/image-bitmap.js.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/mime.d.ts +0 -2
- package/node_modules/@jimp/core/dist/esm/utils/mime.d.ts.map +0 -1
- package/node_modules/@jimp/core/dist/esm/utils/mime.js +0 -29
- package/node_modules/@jimp/core/dist/esm/utils/mime.js.map +0 -1
- package/node_modules/@jimp/core/eslint.config.mjs +0 -9
- package/node_modules/@jimp/core/package.json +0 -69
- package/node_modules/@jimp/core/src/index.ts +0 -785
- package/node_modules/@jimp/core/src/utils/composite-modes.ts +0 -308
- package/node_modules/@jimp/core/src/utils/composite.ts +0 -85
- package/node_modules/@jimp/core/src/utils/constants.ts +0 -88
- package/node_modules/@jimp/core/src/utils/exif-parser.d.ts +0 -13
- package/node_modules/@jimp/core/src/utils/image-bitmap.ts +0 -153
- package/node_modules/@jimp/core/src/utils/mime.ts +0 -34
- package/node_modules/@jimp/core/tsconfig.json +0 -6
- package/node_modules/@jimp/diff/.tshy/build.json +0 -8
- package/node_modules/@jimp/diff/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/diff/.tshy/esm.json +0 -16
- package/node_modules/@jimp/diff/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/diff/CHANGELOG.md +0 -63
- package/node_modules/@jimp/diff/LICENSE +0 -21
- package/node_modules/@jimp/diff/dist/commonjs/index.d.ts +0 -27
- package/node_modules/@jimp/diff/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/diff/dist/commonjs/index.js +0 -65
- package/node_modules/@jimp/diff/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/diff/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/diff/dist/esm/index.d.ts +0 -27
- package/node_modules/@jimp/diff/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/diff/dist/esm/index.js +0 -59
- package/node_modules/@jimp/diff/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/diff/dist/esm/package.json +0 -3
- package/node_modules/@jimp/diff/eslint.config.mjs +0 -2
- package/node_modules/@jimp/diff/package.json +0 -65
- package/node_modules/@jimp/diff/src/__snapshots__/index.test.ts.snap +0 -49
- package/node_modules/@jimp/diff/src/index.test.ts +0 -56
- package/node_modules/@jimp/diff/src/index.ts +0 -71
- package/node_modules/@jimp/diff/tsconfig.json +0 -6
- package/node_modules/@jimp/file-ops/.tshy/browser.json +0 -16
- package/node_modules/@jimp/file-ops/.tshy/build.json +0 -8
- package/node_modules/@jimp/file-ops/.tshy/commonjs.json +0 -18
- package/node_modules/@jimp/file-ops/.tshy/esm.json +0 -17
- package/node_modules/@jimp/file-ops/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/file-ops/CHANGELOG.md +0 -51
- package/node_modules/@jimp/file-ops/LICENSE +0 -21
- package/node_modules/@jimp/file-ops/dist/browser/index-browser.d.mts.map +0 -1
- package/node_modules/@jimp/file-ops/dist/browser/index-browser.mjs.map +0 -1
- package/node_modules/@jimp/file-ops/dist/browser/index.d.ts +0 -4
- package/node_modules/@jimp/file-ops/dist/browser/index.js +0 -8
- package/node_modules/@jimp/file-ops/dist/browser/package.json +0 -3
- package/node_modules/@jimp/file-ops/dist/commonjs/index.d.ts +0 -5
- package/node_modules/@jimp/file-ops/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/file-ops/dist/commonjs/index.js +0 -9
- package/node_modules/@jimp/file-ops/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/file-ops/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/file-ops/dist/esm/index.d.ts +0 -5
- package/node_modules/@jimp/file-ops/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/file-ops/dist/esm/index.js +0 -5
- package/node_modules/@jimp/file-ops/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/file-ops/dist/esm/package.json +0 -3
- package/node_modules/@jimp/file-ops/eslint.config.mjs +0 -2
- package/node_modules/@jimp/file-ops/package.json +0 -63
- package/node_modules/@jimp/file-ops/src/index-browser.mts +0 -9
- package/node_modules/@jimp/file-ops/src/index.ts +0 -5
- package/node_modules/@jimp/file-ops/tsconfig.json +0 -6
- package/node_modules/@jimp/js-bmp/.tshy/build.json +0 -8
- package/node_modules/@jimp/js-bmp/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/js-bmp/.tshy/esm.json +0 -16
- package/node_modules/@jimp/js-bmp/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/js-bmp/CHANGELOG.md +0 -73
- package/node_modules/@jimp/js-bmp/LICENSE +0 -21
- package/node_modules/@jimp/js-bmp/README.md +0 -6
- package/node_modules/@jimp/js-bmp/dist/commonjs/index.d.ts +0 -24
- package/node_modules/@jimp/js-bmp/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-bmp/dist/commonjs/index.js +0 -74
- package/node_modules/@jimp/js-bmp/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/js-bmp/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/js-bmp/dist/esm/index.d.ts +0 -24
- package/node_modules/@jimp/js-bmp/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-bmp/dist/esm/index.js +0 -45
- package/node_modules/@jimp/js-bmp/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/js-bmp/dist/esm/package.json +0 -3
- package/node_modules/@jimp/js-bmp/eslint.config.mjs +0 -2
- package/node_modules/@jimp/js-bmp/package.json +0 -69
- package/node_modules/@jimp/js-bmp/src/images/windows95.bmp +0 -0
- package/node_modules/@jimp/js-bmp/src/images/windows95.png +0 -0
- package/node_modules/@jimp/js-bmp/src/index.node.test.ts +0 -17
- package/node_modules/@jimp/js-bmp/src/index.test.ts +0 -32
- package/node_modules/@jimp/js-bmp/src/index.ts +0 -99
- package/node_modules/@jimp/js-bmp/tsconfig.json +0 -6
- package/node_modules/@jimp/js-bmp/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/js-gif/.tshy/build.json +0 -8
- package/node_modules/@jimp/js-gif/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/js-gif/.tshy/esm.json +0 -16
- package/node_modules/@jimp/js-gif/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/js-gif/CHANGELOG.md +0 -39
- package/node_modules/@jimp/js-gif/LICENSE +0 -21
- package/node_modules/@jimp/js-gif/README.md +0 -8
- package/node_modules/@jimp/js-gif/dist/commonjs/index.d.ts +0 -13
- package/node_modules/@jimp/js-gif/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-gif/dist/commonjs/index.js +0 -32
- package/node_modules/@jimp/js-gif/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/js-gif/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/js-gif/dist/esm/index.d.ts +0 -13
- package/node_modules/@jimp/js-gif/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-gif/dist/esm/index.js +0 -26
- package/node_modules/@jimp/js-gif/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/js-gif/dist/esm/package.json +0 -3
- package/node_modules/@jimp/js-gif/eslint.config.mjs +0 -2
- package/node_modules/@jimp/js-gif/package.json +0 -69
- package/node_modules/@jimp/js-gif/src/index.test.ts +0 -25
- package/node_modules/@jimp/js-gif/src/index.ts +0 -33
- package/node_modules/@jimp/js-gif/tsconfig.json +0 -6
- package/node_modules/@jimp/js-gif/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/js-jpeg/.tshy/build.json +0 -8
- package/node_modules/@jimp/js-jpeg/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/js-jpeg/.tshy/esm.json +0 -16
- package/node_modules/@jimp/js-jpeg/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/js-jpeg/CHANGELOG.md +0 -74
- package/node_modules/@jimp/js-jpeg/LICENSE +0 -21
- package/node_modules/@jimp/js-jpeg/README.md +0 -6
- package/node_modules/@jimp/js-jpeg/dist/commonjs/index.d.ts +0 -20
- package/node_modules/@jimp/js-jpeg/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-jpeg/dist/commonjs/index.js +0 -15
- package/node_modules/@jimp/js-jpeg/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/js-jpeg/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/js-jpeg/dist/esm/index.d.ts +0 -20
- package/node_modules/@jimp/js-jpeg/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-jpeg/dist/esm/index.js +0 -9
- package/node_modules/@jimp/js-jpeg/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/js-jpeg/dist/esm/package.json +0 -3
- package/node_modules/@jimp/js-jpeg/eslint.config.mjs +0 -2
- package/node_modules/@jimp/js-jpeg/package.json +0 -66
- package/node_modules/@jimp/js-jpeg/src/index.test.ts +0 -43
- package/node_modules/@jimp/js-jpeg/src/index.ts +0 -24
- package/node_modules/@jimp/js-jpeg/tsconfig.json +0 -6
- package/node_modules/@jimp/js-jpeg/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/js-png/.tshy/build.json +0 -8
- package/node_modules/@jimp/js-png/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/js-png/.tshy/esm.json +0 -16
- package/node_modules/@jimp/js-png/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/js-png/CHANGELOG.md +0 -73
- package/node_modules/@jimp/js-png/LICENSE +0 -21
- package/node_modules/@jimp/js-png/README.md +0 -35
- package/node_modules/@jimp/js-png/dist/commonjs/constants.d.ts +0 -29
- package/node_modules/@jimp/js-png/dist/commonjs/constants.d.ts.map +0 -1
- package/node_modules/@jimp/js-png/dist/commonjs/constants.js +0 -34
- package/node_modules/@jimp/js-png/dist/commonjs/constants.js.map +0 -1
- package/node_modules/@jimp/js-png/dist/commonjs/index.d.ts +0 -24
- package/node_modules/@jimp/js-png/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-png/dist/commonjs/index.js +0 -54
- package/node_modules/@jimp/js-png/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/js-png/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/js-png/dist/esm/constants.d.ts +0 -29
- package/node_modules/@jimp/js-png/dist/esm/constants.d.ts.map +0 -1
- package/node_modules/@jimp/js-png/dist/esm/constants.js +0 -31
- package/node_modules/@jimp/js-png/dist/esm/constants.js.map +0 -1
- package/node_modules/@jimp/js-png/dist/esm/index.d.ts +0 -24
- package/node_modules/@jimp/js-png/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-png/dist/esm/index.js +0 -37
- package/node_modules/@jimp/js-png/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/js-png/dist/esm/package.json +0 -3
- package/node_modules/@jimp/js-png/eslint.config.mjs +0 -2
- package/node_modules/@jimp/js-png/package.json +0 -67
- package/node_modules/@jimp/js-png/src/__image_snapshots__/index-node-test-ts-png-should-use-png-options-1-snap.png +0 -0
- package/node_modules/@jimp/js-png/src/constants.ts +0 -29
- package/node_modules/@jimp/js-png/src/index.node.test.ts +0 -29
- package/node_modules/@jimp/js-png/src/index.test.ts +0 -29
- package/node_modules/@jimp/js-png/src/index.ts +0 -68
- package/node_modules/@jimp/js-png/src/output.png +0 -0
- package/node_modules/@jimp/js-png/tsconfig.json +0 -6
- package/node_modules/@jimp/js-png/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/js-tiff/.tshy/build.json +0 -8
- package/node_modules/@jimp/js-tiff/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/js-tiff/.tshy/esm.json +0 -16
- package/node_modules/@jimp/js-tiff/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/js-tiff/CHANGELOG.md +0 -51
- package/node_modules/@jimp/js-tiff/LICENSE +0 -21
- package/node_modules/@jimp/js-tiff/README.md +0 -6
- package/node_modules/@jimp/js-tiff/dist/commonjs/index.d.ts +0 -7
- package/node_modules/@jimp/js-tiff/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-tiff/dist/commonjs/index.js +0 -51
- package/node_modules/@jimp/js-tiff/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/js-tiff/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/js-tiff/dist/esm/index.d.ts +0 -7
- package/node_modules/@jimp/js-tiff/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/js-tiff/dist/esm/index.js +0 -45
- package/node_modules/@jimp/js-tiff/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/js-tiff/dist/esm/package.json +0 -3
- package/node_modules/@jimp/js-tiff/eslint.config.mjs +0 -2
- package/node_modules/@jimp/js-tiff/package.json +0 -67
- package/node_modules/@jimp/js-tiff/src/index.test.ts +0 -32
- package/node_modules/@jimp/js-tiff/src/index.ts +0 -56
- package/node_modules/@jimp/js-tiff/tsconfig.json +0 -6
- package/node_modules/@jimp/js-tiff/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-blit/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-blit/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-blit/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-blit/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-blit/CHANGELOG.md +0 -64
- package/node_modules/@jimp/plugin-blit/LICENSE +0 -21
- package/node_modules/@jimp/plugin-blit/README.md +0 -10
- package/node_modules/@jimp/plugin-blit/dist/commonjs/index.d.ts +0 -118
- package/node_modules/@jimp/plugin-blit/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-blit/dist/commonjs/index.js +0 -92
- package/node_modules/@jimp/plugin-blit/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-blit/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-blit/dist/esm/index.d.ts +0 -118
- package/node_modules/@jimp/plugin-blit/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-blit/dist/esm/index.js +0 -89
- package/node_modules/@jimp/plugin-blit/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-blit/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-blit/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-blit/package.json +0 -69
- package/node_modules/@jimp/plugin-blit/src/__image_snapshots__/index-node-test-ts-blit-over-image-blit-alpha-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/__image_snapshots__/index-node-test-ts-blit-over-image-uses-src-params-correctly-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/__image_snapshots__/index-node-test-ts-blit-over-image-uses-src-params-correctly-2-snap.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/__image_snapshots__/index-node-test-ts-blit-over-image-uses-src-params-correctly-3-snap.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/__snapshots__/index.test.ts.snap +0 -145
- package/node_modules/@jimp/plugin-blit/src/images/blit-alpha.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/images/cat-results/large-cat.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/images/cat-results/medium-cat.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/images/cat-results/small-cat.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/images/cat_butt.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/images/cat_fuzz.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/images/cat_head.png +0 -0
- package/node_modules/@jimp/plugin-blit/src/index.node.test.ts +0 -86
- package/node_modules/@jimp/plugin-blit/src/index.test.ts +0 -72
- package/node_modules/@jimp/plugin-blit/src/index.ts +0 -114
- package/node_modules/@jimp/plugin-blit/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-blit/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-blur/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-blur/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-blur/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-blur/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-blur/CHANGELOG.md +0 -64
- package/node_modules/@jimp/plugin-blur/LICENSE +0 -21
- package/node_modules/@jimp/plugin-blur/README.md +0 -11
- package/node_modules/@jimp/plugin-blur/dist/commonjs/blur-tables.d.ts +0 -3
- package/node_modules/@jimp/plugin-blur/dist/commonjs/blur-tables.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/commonjs/blur-tables.js +0 -38
- package/node_modules/@jimp/plugin-blur/dist/commonjs/blur-tables.js.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/commonjs/index.d.ts +0 -30
- package/node_modules/@jimp/plugin-blur/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/commonjs/index.js +0 -211
- package/node_modules/@jimp/plugin-blur/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-blur/dist/esm/blur-tables.d.ts +0 -3
- package/node_modules/@jimp/plugin-blur/dist/esm/blur-tables.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/esm/blur-tables.js +0 -35
- package/node_modules/@jimp/plugin-blur/dist/esm/blur-tables.js.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/esm/index.d.ts +0 -30
- package/node_modules/@jimp/plugin-blur/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/esm/index.js +0 -208
- package/node_modules/@jimp/plugin-blur/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-blur/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-blur/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-blur/package.json +0 -66
- package/node_modules/@jimp/plugin-blur/src/__image_snapshots__/index-node-test-ts-has-alpha-image-with-alpha-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-blur/src/blur-tables.ts +0 -35
- package/node_modules/@jimp/plugin-blur/src/index.node.test.ts +0 -17
- package/node_modules/@jimp/plugin-blur/src/index.ts +0 -251
- package/node_modules/@jimp/plugin-blur/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-blur/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-circle/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-circle/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-circle/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-circle/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-circle/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-circle/LICENSE +0 -21
- package/node_modules/@jimp/plugin-circle/README.md +0 -8
- package/node_modules/@jimp/plugin-circle/dist/commonjs/index.d.ts +0 -37
- package/node_modules/@jimp/plugin-circle/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-circle/dist/commonjs/index.js +0 -49
- package/node_modules/@jimp/plugin-circle/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-circle/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-circle/dist/esm/index.d.ts +0 -37
- package/node_modules/@jimp/plugin-circle/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-circle/dist/esm/index.js +0 -46
- package/node_modules/@jimp/plugin-circle/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-circle/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-circle/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-circle/package.json +0 -66
- package/node_modules/@jimp/plugin-circle/src/__snapshots__/index.test.ts.snap +0 -85
- package/node_modules/@jimp/plugin-circle/src/index.test.ts +0 -67
- package/node_modules/@jimp/plugin-circle/src/index.ts +0 -56
- package/node_modules/@jimp/plugin-circle/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-circle/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-color/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-color/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-color/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-color/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-color/CHANGELOG.md +0 -74
- package/node_modules/@jimp/plugin-color/LICENSE +0 -21
- package/node_modules/@jimp/plugin-color/README.md +0 -20
- package/node_modules/@jimp/plugin-color/dist/commonjs/index.d.ts +0 -706
- package/node_modules/@jimp/plugin-color/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-color/dist/commonjs/index.js +0 -713
- package/node_modules/@jimp/plugin-color/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-color/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-color/dist/esm/index.d.ts +0 -706
- package/node_modules/@jimp/plugin-color/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-color/dist/esm/index.js +0 -707
- package/node_modules/@jimp/plugin-color/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-color/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-color/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-color/package.json +0 -72
- package/node_modules/@jimp/plugin-color/src/__image_snapshots__/birghtness-node-test-ts-brightness-3-x-3-box-blur-matrix-using-convolute-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-color/src/__image_snapshots__/convolution-node-test-ts-convolution-3-x-3-box-blur-matrix-using-convolute-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-color/src/__image_snapshots__/convolution-node-test-ts-convolution-new-pixel-value-is-greater-than-255-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-color/src/__snapshots__/convolution.test.ts.snap +0 -145
- package/node_modules/@jimp/plugin-color/src/__snapshots__/index.test.ts.snap +0 -169
- package/node_modules/@jimp/plugin-color/src/__snapshots__/normalize.test.ts.snap +0 -27
- package/node_modules/@jimp/plugin-color/src/birghtness.node.test.ts +0 -18
- package/node_modules/@jimp/plugin-color/src/convolution.node.test.ts +0 -42
- package/node_modules/@jimp/plugin-color/src/convolution.test.ts +0 -71
- package/node_modules/@jimp/plugin-color/src/images/qr.jpg +0 -0
- package/node_modules/@jimp/plugin-color/src/images/tiles.jpg +0 -0
- package/node_modules/@jimp/plugin-color/src/index.test.ts +0 -63
- package/node_modules/@jimp/plugin-color/src/index.ts +0 -863
- package/node_modules/@jimp/plugin-color/src/normalize.test.ts +0 -27
- package/node_modules/@jimp/plugin-color/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-color/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-contain/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-contain/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-contain/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-contain/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-contain/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-contain/LICENSE +0 -21
- package/node_modules/@jimp/plugin-contain/README.md +0 -8
- package/node_modules/@jimp/plugin-contain/dist/commonjs/index.d.ts +0 -44
- package/node_modules/@jimp/plugin-contain/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-contain/dist/commonjs/index.js +0 -62
- package/node_modules/@jimp/plugin-contain/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-contain/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-contain/dist/esm/index.d.ts +0 -44
- package/node_modules/@jimp/plugin-contain/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-contain/dist/esm/index.js +0 -59
- package/node_modules/@jimp/plugin-contain/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-contain/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-contain/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-contain/package.json +0 -69
- package/node_modules/@jimp/plugin-contain/src/__snapshots__/index.test.ts.snap +0 -361
- package/node_modules/@jimp/plugin-contain/src/index.test.ts +0 -75
- package/node_modules/@jimp/plugin-contain/src/index.ts +0 -82
- package/node_modules/@jimp/plugin-contain/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-contain/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-cover/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-cover/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-cover/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-cover/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-cover/CHANGELOG.md +0 -62
- package/node_modules/@jimp/plugin-cover/LICENSE +0 -21
- package/node_modules/@jimp/plugin-cover/README.md +0 -8
- package/node_modules/@jimp/plugin-cover/dist/commonjs/index.d.ts +0 -40
- package/node_modules/@jimp/plugin-cover/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-cover/dist/commonjs/index.js +0 -57
- package/node_modules/@jimp/plugin-cover/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-cover/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-cover/dist/esm/index.d.ts +0 -40
- package/node_modules/@jimp/plugin-cover/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-cover/dist/esm/index.js +0 -54
- package/node_modules/@jimp/plugin-cover/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-cover/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-cover/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-cover/package.json +0 -68
- package/node_modules/@jimp/plugin-cover/src/__snapshots__/index.test.ts.snap +0 -289
- package/node_modules/@jimp/plugin-cover/src/index.test.ts +0 -74
- package/node_modules/@jimp/plugin-cover/src/index.ts +0 -73
- package/node_modules/@jimp/plugin-cover/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-cover/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-crop/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-crop/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-crop/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-crop/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-crop/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-crop/LICENSE +0 -21
- package/node_modules/@jimp/plugin-crop/README.md +0 -9
- package/node_modules/@jimp/plugin-crop/dist/commonjs/index.d.ts +0 -102
- package/node_modules/@jimp/plugin-crop/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-crop/dist/commonjs/index.js +0 -229
- package/node_modules/@jimp/plugin-crop/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-crop/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-crop/dist/esm/index.d.ts +0 -102
- package/node_modules/@jimp/plugin-crop/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-crop/dist/esm/index.js +0 -226
- package/node_modules/@jimp/plugin-crop/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-crop/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-crop/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-crop/package.json +0 -68
- package/node_modules/@jimp/plugin-crop/src/__snapshots__/autocrop.test.ts.snap +0 -353
- package/node_modules/@jimp/plugin-crop/src/__snapshots__/crop.test.ts.snap +0 -91
- package/node_modules/@jimp/plugin-crop/src/autocrop.test.ts +0 -287
- package/node_modules/@jimp/plugin-crop/src/crop.test.ts +0 -54
- package/node_modules/@jimp/plugin-crop/src/index.ts +0 -280
- package/node_modules/@jimp/plugin-crop/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-crop/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-displace/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-displace/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-displace/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-displace/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-displace/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-displace/LICENSE +0 -21
- package/node_modules/@jimp/plugin-displace/README.md +0 -10
- package/node_modules/@jimp/plugin-displace/dist/commonjs/index.d.ts +0 -72
- package/node_modules/@jimp/plugin-displace/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-displace/dist/commonjs/index.js +0 -42
- package/node_modules/@jimp/plugin-displace/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-displace/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-displace/dist/esm/index.d.ts +0 -72
- package/node_modules/@jimp/plugin-displace/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-displace/dist/esm/index.js +0 -39
- package/node_modules/@jimp/plugin-displace/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-displace/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-displace/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-displace/package.json +0 -60
- package/node_modules/@jimp/plugin-displace/src/index.ts +0 -45
- package/node_modules/@jimp/plugin-displace/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-dither/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-dither/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-dither/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-dither/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-dither/CHANGELOG.md +0 -58
- package/node_modules/@jimp/plugin-dither/LICENSE +0 -21
- package/node_modules/@jimp/plugin-dither/README.md +0 -10
- package/node_modules/@jimp/plugin-dither/dist/commonjs/index.d.ts +0 -16
- package/node_modules/@jimp/plugin-dither/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-dither/dist/commonjs/index.js +0 -30
- package/node_modules/@jimp/plugin-dither/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-dither/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-dither/dist/esm/index.d.ts +0 -16
- package/node_modules/@jimp/plugin-dither/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-dither/dist/esm/index.js +0 -27
- package/node_modules/@jimp/plugin-dither/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-dither/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-dither/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-dither/package.json +0 -58
- package/node_modules/@jimp/plugin-dither/src/index.ts +0 -37
- package/node_modules/@jimp/plugin-dither/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-fisheye/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-fisheye/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-fisheye/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-fisheye/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-fisheye/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-fisheye/LICENSE +0 -21
- package/node_modules/@jimp/plugin-fisheye/README.md +0 -8
- package/node_modules/@jimp/plugin-fisheye/dist/commonjs/index.d.ts +0 -27
- package/node_modules/@jimp/plugin-fisheye/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-fisheye/dist/commonjs/index.js +0 -43
- package/node_modules/@jimp/plugin-fisheye/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-fisheye/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-fisheye/dist/esm/index.d.ts +0 -27
- package/node_modules/@jimp/plugin-fisheye/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-fisheye/dist/esm/index.js +0 -40
- package/node_modules/@jimp/plugin-fisheye/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-fisheye/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-fisheye/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-fisheye/package.json +0 -67
- package/node_modules/@jimp/plugin-fisheye/src/__snapshots__/index.test.ts.snap +0 -57
- package/node_modules/@jimp/plugin-fisheye/src/index.test.ts +0 -48
- package/node_modules/@jimp/plugin-fisheye/src/index.ts +0 -52
- package/node_modules/@jimp/plugin-fisheye/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-fisheye/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-flip/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-flip/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-flip/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-flip/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-flip/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-flip/LICENSE +0 -21
- package/node_modules/@jimp/plugin-flip/README.md +0 -13
- package/node_modules/@jimp/plugin-flip/dist/commonjs/index.d.ts +0 -33
- package/node_modules/@jimp/plugin-flip/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-flip/dist/commonjs/index.js +0 -39
- package/node_modules/@jimp/plugin-flip/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-flip/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-flip/dist/esm/index.d.ts +0 -33
- package/node_modules/@jimp/plugin-flip/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-flip/dist/esm/index.js +0 -36
- package/node_modules/@jimp/plugin-flip/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-flip/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-flip/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-flip/package.json +0 -67
- package/node_modules/@jimp/plugin-flip/src/__snapshots__/index.test.ts.snap +0 -67
- package/node_modules/@jimp/plugin-flip/src/index.test.ts +0 -57
- package/node_modules/@jimp/plugin-flip/src/index.ts +0 -44
- package/node_modules/@jimp/plugin-flip/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-flip/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-hash/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-hash/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-hash/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-hash/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-hash/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-hash/LICENSE +0 -21
- package/node_modules/@jimp/plugin-hash/dist/commonjs/index.d.ts +0 -77
- package/node_modules/@jimp/plugin-hash/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/commonjs/index.js +0 -120
- package/node_modules/@jimp/plugin-hash/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-hash/dist/commonjs/phash.d.ts +0 -13
- package/node_modules/@jimp/plugin-hash/dist/commonjs/phash.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/commonjs/phash.js +0 -161
- package/node_modules/@jimp/plugin-hash/dist/commonjs/phash.js.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/esm/index.d.ts +0 -77
- package/node_modules/@jimp/plugin-hash/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/esm/index.js +0 -112
- package/node_modules/@jimp/plugin-hash/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-hash/dist/esm/phash.d.ts +0 -13
- package/node_modules/@jimp/plugin-hash/dist/esm/phash.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-hash/dist/esm/phash.js +0 -159
- package/node_modules/@jimp/plugin-hash/dist/esm/phash.js.map +0 -1
- package/node_modules/@jimp/plugin-hash/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-hash/package.json +0 -74
- package/node_modules/@jimp/plugin-hash/src/index.test.ts +0 -75
- package/node_modules/@jimp/plugin-hash/src/index.ts +0 -129
- package/node_modules/@jimp/plugin-hash/src/phash.ts +0 -189
- package/node_modules/@jimp/plugin-hash/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-hash/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-mask/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-mask/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-mask/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-mask/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-mask/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-mask/LICENSE +0 -21
- package/node_modules/@jimp/plugin-mask/README.md +0 -10
- package/node_modules/@jimp/plugin-mask/dist/commonjs/index.d.ts +0 -102
- package/node_modules/@jimp/plugin-mask/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-mask/dist/commonjs/index.js +0 -63
- package/node_modules/@jimp/plugin-mask/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-mask/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-mask/dist/esm/index.d.ts +0 -102
- package/node_modules/@jimp/plugin-mask/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-mask/dist/esm/index.js +0 -60
- package/node_modules/@jimp/plugin-mask/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-mask/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-mask/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-mask/package.json +0 -66
- package/node_modules/@jimp/plugin-mask/src/__snapshots__/index.test.ts.snap +0 -125
- package/node_modules/@jimp/plugin-mask/src/index.test.ts +0 -95
- package/node_modules/@jimp/plugin-mask/src/index.ts +0 -71
- package/node_modules/@jimp/plugin-mask/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-mask/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-print/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-print/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-print/.tshy/esm.json +0 -17
- package/node_modules/@jimp/plugin-print/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-print/CHANGELOG.md +0 -115
- package/node_modules/@jimp/plugin-print/LICENSE +0 -21
- package/node_modules/@jimp/plugin-print/README.md +0 -10
- package/node_modules/@jimp/plugin-print/dist/commonjs/dirname-cjs.cjs.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/dirname-cjs.d.cts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/dirname.d.ts +0 -2
- package/node_modules/@jimp/plugin-print/dist/commonjs/dirname.js +0 -5
- package/node_modules/@jimp/plugin-print/dist/commonjs/fonts.d.ts +0 -14
- package/node_modules/@jimp/plugin-print/dist/commonjs/fonts.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/fonts.js +0 -23
- package/node_modules/@jimp/plugin-print/dist/commonjs/fonts.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/index.d.ts +0 -93
- package/node_modules/@jimp/plugin-print/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/index.js +0 -165
- package/node_modules/@jimp/plugin-print/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-bitmap-font.d.ts +0 -134
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-bitmap-font.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-bitmap-font.js +0 -126
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-bitmap-font.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-font.d.ts +0 -131
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-font.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-font.js +0 -31
- package/node_modules/@jimp/plugin-print/dist/commonjs/load-font.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/measure-text.d.ts +0 -8
- package/node_modules/@jimp/plugin-print/dist/commonjs/measure-text.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/measure-text.js +0 -75
- package/node_modules/@jimp/plugin-print/dist/commonjs/measure-text.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-print/dist/commonjs/types.d.ts +0 -29
- package/node_modules/@jimp/plugin-print/dist/commonjs/types.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/commonjs/types.js +0 -3
- package/node_modules/@jimp/plugin-print/dist/commonjs/types.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/dirname.d.ts +0 -2
- package/node_modules/@jimp/plugin-print/dist/esm/dirname.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/dirname.js +0 -6
- package/node_modules/@jimp/plugin-print/dist/esm/dirname.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/fonts.d.ts +0 -14
- package/node_modules/@jimp/plugin-print/dist/esm/fonts.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/fonts.js +0 -17
- package/node_modules/@jimp/plugin-print/dist/esm/fonts.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/index.d.ts +0 -93
- package/node_modules/@jimp/plugin-print/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/index.js +0 -146
- package/node_modules/@jimp/plugin-print/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.d.ts +0 -134
- package/node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.js +0 -118
- package/node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/load-font.d.ts +0 -131
- package/node_modules/@jimp/plugin-print/dist/esm/load-font.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/load-font.js +0 -28
- package/node_modules/@jimp/plugin-print/dist/esm/load-font.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/measure-text.d.ts +0 -8
- package/node_modules/@jimp/plugin-print/dist/esm/measure-text.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/measure-text.js +0 -70
- package/node_modules/@jimp/plugin-print/dist/esm/measure-text.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-print/dist/esm/types.d.ts +0 -29
- package/node_modules/@jimp/plugin-print/dist/esm/types.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/esm/types.js +0 -2
- package/node_modules/@jimp/plugin-print/dist/esm/types.js.map +0 -1
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/Apache License.txt +0 -201
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-10-black/open-sans-10-black.fnt +0 -160
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-10-black/open-sans-10-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-12-black/open-sans-12-black.fnt +0 -183
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-12-black/open-sans-12-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-128-black/open-sans-128-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-128-black/open-sans-128-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-128-white/open-sans-128-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-128-white/open-sans-128-white.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-14-black/open-sans-14-black.fnt +0 -215
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-14-black/open-sans-14-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-16-black/open-sans-16-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-16-black/open-sans-16-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-16-white/open-sans-16-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-16-white/open-sans-16-white.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-32-black/open-sans-32-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-32-white/open-sans-32-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-32-white/open-sans-32-white.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-64-black/open-sans-64-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-64-black/open-sans-64-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-64-white/open-sans-64-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-64-white/open-sans-64-white.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-8-black/open-sans-8-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-8-black/open-sans-8-black.png +0 -0
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-8-white/open-sans-8-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/dist/fonts/open-sans/open-sans-8-white/open-sans-8-white.png +0 -0
- package/node_modules/@jimp/plugin-print/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-print/fonts/open-sans/Apache License.txt +0 -201
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-10-black/open-sans-10-black.fnt +0 -160
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-10-black/open-sans-10-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-12-black/open-sans-12-black.fnt +0 -183
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-12-black/open-sans-12-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-128-black/open-sans-128-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-128-black/open-sans-128-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-128-white/open-sans-128-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-128-white/open-sans-128-white.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-14-black/open-sans-14-black.fnt +0 -215
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-14-black/open-sans-14-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-16-black/open-sans-16-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-16-black/open-sans-16-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-16-white/open-sans-16-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-16-white/open-sans-16-white.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-32-black/open-sans-32-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-32-white/open-sans-32-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-32-white/open-sans-32-white.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-64-black/open-sans-64-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-64-black/open-sans-64-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-64-white/open-sans-64-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-64-white/open-sans-64-white.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-8-black/open-sans-8-black.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-8-black/open-sans-8-black.png +0 -0
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-8-white/open-sans-8-white.fnt +0 -298
- package/node_modules/@jimp/plugin-print/fonts/open-sans/open-sans-8-white/open-sans-8-white.png +0 -0
- package/node_modules/@jimp/plugin-print/package.json +0 -94
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-bottom-align-text-when-passing-object-with-alignment-y-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-bottom-align-text-when-passing-object-with-alignment-y-offset-y-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-center-align-text-when-passing-object-with-alignment-x-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-exposes-print-y-position-in-cb-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-can-print-numbers-too-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-loads-font-from-url-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-16-black-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-16-black-bitmap-font-positioned-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-16-white-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-32-black-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-32-white-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-64-black-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-64-white-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-8-black-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-preset-sans-8-white-bitmap-font-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-jimp-renders-for-unknown-characters-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-left-align-text-by-default-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-left-align-text-by-default-when-passing-object-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-left-align-text-when-passing-object-with-alignment-x-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-max-width-works-without-spaces-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-middle-align-text-when-passing-object-with-alignment-y-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-middle-align-text-when-passing-object-with-alignment-y-can-offset-y-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-right-align-text-when-passing-object-with-alignment-x-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/__image_snapshots__/index-node-test-ts-write-text-over-image-text-with-newlines-default-alignment-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-print/src/dirname-cjs.cts +0 -1
- package/node_modules/@jimp/plugin-print/src/dirname.ts +0 -6
- package/node_modules/@jimp/plugin-print/src/fonts.ts +0 -69
- package/node_modules/@jimp/plugin-print/src/index.node.test.ts +0 -302
- package/node_modules/@jimp/plugin-print/src/index.ts +0 -220
- package/node_modules/@jimp/plugin-print/src/load-bitmap-font.ts +0 -165
- package/node_modules/@jimp/plugin-print/src/load-font.ts +0 -35
- package/node_modules/@jimp/plugin-print/src/measure-text.ts +0 -92
- package/node_modules/@jimp/plugin-print/src/types/parse-bmfont-ascii.d.ts +0 -4
- package/node_modules/@jimp/plugin-print/src/types/parse-bmfont-binary.d.ts +0 -4
- package/node_modules/@jimp/plugin-print/src/types/parse-bmfont-xml.d.ts +0 -4
- package/node_modules/@jimp/plugin-print/src/types.ts +0 -33
- package/node_modules/@jimp/plugin-print/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-quantize/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-quantize/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-quantize/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-quantize/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-quantize/CHANGELOG.md +0 -50
- package/node_modules/@jimp/plugin-quantize/LICENSE +0 -21
- package/node_modules/@jimp/plugin-quantize/README.md +0 -8
- package/node_modules/@jimp/plugin-quantize/dist/commonjs/index.d.ts +0 -27
- package/node_modules/@jimp/plugin-quantize/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-quantize/dist/commonjs/index.js +0 -70
- package/node_modules/@jimp/plugin-quantize/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-quantize/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-quantize/dist/esm/index.d.ts +0 -27
- package/node_modules/@jimp/plugin-quantize/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-quantize/dist/esm/index.js +0 -64
- package/node_modules/@jimp/plugin-quantize/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-quantize/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-quantize/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-quantize/package.json +0 -66
- package/node_modules/@jimp/plugin-quantize/src/__image_snapshots__/index-node-test-ts-quantize-defines-default-threshold-for-lighter-backgrounds-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-quantize/src/images/colorful.png +0 -0
- package/node_modules/@jimp/plugin-quantize/src/index.node.test.ts +0 -23
- package/node_modules/@jimp/plugin-quantize/src/index.ts +0 -81
- package/node_modules/@jimp/plugin-quantize/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-resize/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-resize/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-resize/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-resize/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-resize/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-resize/LICENSE +0 -21
- package/node_modules/@jimp/plugin-resize/README.md +0 -12
- package/node_modules/@jimp/plugin-resize/dist/commonjs/constants.d.ts +0 -27
- package/node_modules/@jimp/plugin-resize/dist/commonjs/constants.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/constants.js +0 -31
- package/node_modules/@jimp/plugin-resize/dist/commonjs/constants.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/index.d.ts +0 -111
- package/node_modules/@jimp/plugin-resize/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/index.js +0 -150
- package/node_modules/@jimp/plugin-resize/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize.d.ts +0 -3
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize.js +0 -412
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize2.d.ts +0 -30
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize2.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize2.js +0 -251
- package/node_modules/@jimp/plugin-resize/dist/commonjs/modules/resize2.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-resize/dist/esm/constants.d.ts +0 -27
- package/node_modules/@jimp/plugin-resize/dist/esm/constants.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/constants.js +0 -28
- package/node_modules/@jimp/plugin-resize/dist/esm/constants.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/index.d.ts +0 -111
- package/node_modules/@jimp/plugin-resize/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/index.js +0 -130
- package/node_modules/@jimp/plugin-resize/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize.d.ts +0 -3
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize.js +0 -410
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.d.ts +0 -30
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.js +0 -248
- package/node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.js.map +0 -1
- package/node_modules/@jimp/plugin-resize/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-resize/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-resize/package.json +0 -67
- package/node_modules/@jimp/plugin-resize/src/__snapshots__/index.test.ts.snap +0 -445
- package/node_modules/@jimp/plugin-resize/src/constants.ts +0 -26
- package/node_modules/@jimp/plugin-resize/src/index.test.ts +0 -101
- package/node_modules/@jimp/plugin-resize/src/index.ts +0 -176
- package/node_modules/@jimp/plugin-resize/src/modules/resize.ts +0 -555
- package/node_modules/@jimp/plugin-resize/src/modules/resize2.ts +0 -327
- package/node_modules/@jimp/plugin-resize/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-resize/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-rotate/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-rotate/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-rotate/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-rotate/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-rotate/CHANGELOG.md +0 -64
- package/node_modules/@jimp/plugin-rotate/LICENSE +0 -21
- package/node_modules/@jimp/plugin-rotate/README.md +0 -10
- package/node_modules/@jimp/plugin-rotate/dist/commonjs/index.d.ts +0 -32
- package/node_modules/@jimp/plugin-rotate/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-rotate/dist/commonjs/index.js +0 -201
- package/node_modules/@jimp/plugin-rotate/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-rotate/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-rotate/dist/esm/index.d.ts +0 -32
- package/node_modules/@jimp/plugin-rotate/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-rotate/dist/esm/index.js +0 -198
- package/node_modules/@jimp/plugin-rotate/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-rotate/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-rotate/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-rotate/package.json +0 -71
- package/node_modules/@jimp/plugin-rotate/src/__snapshots__/index.test.ts.snap +0 -897
- package/node_modules/@jimp/plugin-rotate/src/index.test.ts +0 -84
- package/node_modules/@jimp/plugin-rotate/src/index.ts +0 -256
- package/node_modules/@jimp/plugin-rotate/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-rotate/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/plugin-threshold/.tshy/build.json +0 -8
- package/node_modules/@jimp/plugin-threshold/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/plugin-threshold/.tshy/esm.json +0 -16
- package/node_modules/@jimp/plugin-threshold/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/plugin-threshold/CHANGELOG.md +0 -52
- package/node_modules/@jimp/plugin-threshold/LICENSE +0 -21
- package/node_modules/@jimp/plugin-threshold/README.md +0 -10
- package/node_modules/@jimp/plugin-threshold/dist/commonjs/index.d.ts +0 -36
- package/node_modules/@jimp/plugin-threshold/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-threshold/dist/commonjs/index.js +0 -46
- package/node_modules/@jimp/plugin-threshold/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/plugin-threshold/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/plugin-threshold/dist/esm/index.d.ts +0 -36
- package/node_modules/@jimp/plugin-threshold/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/plugin-threshold/dist/esm/index.js +0 -43
- package/node_modules/@jimp/plugin-threshold/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/plugin-threshold/dist/esm/package.json +0 -3
- package/node_modules/@jimp/plugin-threshold/eslint.config.mjs +0 -2
- package/node_modules/@jimp/plugin-threshold/package.json +0 -70
- package/node_modules/@jimp/plugin-threshold/src/__image_snapshots__/index-test-ts-src-index-test-ts-threshold-defines-default-threshold-for-lighter-backgrounds-1-snap.png +0 -0
- package/node_modules/@jimp/plugin-threshold/src/index.test.ts +0 -23
- package/node_modules/@jimp/plugin-threshold/src/index.ts +0 -56
- package/node_modules/@jimp/plugin-threshold/tsconfig.json +0 -6
- package/node_modules/@jimp/plugin-threshold/vitest.config.browser.mjs +0 -3
- package/node_modules/@jimp/types/.tshy/build.json +0 -8
- package/node_modules/@jimp/types/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/types/.tshy/esm.json +0 -16
- package/node_modules/@jimp/types/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/types/CHANGELOG.md +0 -97
- package/node_modules/@jimp/types/LICENSE +0 -21
- package/node_modules/@jimp/types/dist/commonjs/index.d.ts +0 -66
- package/node_modules/@jimp/types/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/types/dist/commonjs/index.js +0 -18
- package/node_modules/@jimp/types/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/types/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/types/dist/esm/index.d.ts +0 -66
- package/node_modules/@jimp/types/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/types/dist/esm/index.js +0 -15
- package/node_modules/@jimp/types/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/types/dist/esm/package.json +0 -3
- package/node_modules/@jimp/types/eslint.config.mjs +0 -2
- package/node_modules/@jimp/types/package.json +0 -60
- package/node_modules/@jimp/types/src/index.ts +0 -76
- package/node_modules/@jimp/types/tsconfig.json +0 -6
- package/node_modules/@jimp/utils/.tshy/build.json +0 -8
- package/node_modules/@jimp/utils/.tshy/commonjs.json +0 -17
- package/node_modules/@jimp/utils/.tshy/esm.json +0 -16
- package/node_modules/@jimp/utils/.turbo/turbo-build.log +0 -5
- package/node_modules/@jimp/utils/CHANGELOG.md +0 -67
- package/node_modules/@jimp/utils/LICENSE +0 -21
- package/node_modules/@jimp/utils/dist/commonjs/index.d.ts +0 -85
- package/node_modules/@jimp/utils/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@jimp/utils/dist/commonjs/index.js +0 -225
- package/node_modules/@jimp/utils/dist/commonjs/index.js.map +0 -1
- package/node_modules/@jimp/utils/dist/commonjs/package.json +0 -3
- package/node_modules/@jimp/utils/dist/esm/index.d.ts +0 -85
- package/node_modules/@jimp/utils/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@jimp/utils/dist/esm/index.js +0 -212
- package/node_modules/@jimp/utils/dist/esm/index.js.map +0 -1
- package/node_modules/@jimp/utils/dist/esm/package.json +0 -3
- package/node_modules/@jimp/utils/eslint.config.mjs +0 -2
- package/node_modules/@jimp/utils/package.json +0 -63
- package/node_modules/@jimp/utils/src/index.test.ts +0 -82
- package/node_modules/@jimp/utils/src/index.ts +0 -271
- package/node_modules/@jimp/utils/tsconfig.json +0 -6
- package/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/node/README.md +0 -16
- package/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/node_modules/@types/node/assert.d.ts +0 -912
- package/node_modules/@types/node/async_hooks.d.ts +0 -497
- package/node_modules/@types/node/buffer.d.ts +0 -2142
- package/node_modules/@types/node/child_process.d.ts +0 -1355
- package/node_modules/@types/node/cluster.d.ts +0 -414
- package/node_modules/@types/node/console.d.ts +0 -407
- package/node_modules/@types/node/constants.d.ts +0 -18
- package/node_modules/@types/node/crypto.d.ts +0 -3243
- package/node_modules/@types/node/dgram.d.ts +0 -545
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -128
- package/node_modules/@types/node/dns/promises.d.ts +0 -357
- package/node_modules/@types/node/dns.d.ts +0 -643
- package/node_modules/@types/node/domain.d.ts +0 -169
- package/node_modules/@types/node/events.d.ts +0 -623
- package/node_modules/@types/node/fs/promises.d.ts +0 -997
- package/node_modules/@types/node/fs.d.ts +0 -3723
- package/node_modules/@types/node/globals.d.ts +0 -284
- package/node_modules/@types/node/globals.global.d.ts +0 -1
- package/node_modules/@types/node/http.d.ts +0 -1358
- package/node_modules/@types/node/http2.d.ts +0 -2100
- package/node_modules/@types/node/https.d.ts +0 -391
- package/node_modules/@types/node/index.d.ts +0 -132
- package/node_modules/@types/node/inspector.d.ts +0 -2738
- package/node_modules/@types/node/module.d.ts +0 -114
- package/node_modules/@types/node/net.d.ts +0 -783
- package/node_modules/@types/node/os.d.ts +0 -455
- package/node_modules/@types/node/package.json +0 -235
- package/node_modules/@types/node/path.d.ts +0 -172
- package/node_modules/@types/node/perf_hooks.d.ts +0 -555
- package/node_modules/@types/node/process.d.ts +0 -1477
- package/node_modules/@types/node/punycode.d.ts +0 -117
- package/node_modules/@types/node/querystring.d.ts +0 -131
- package/node_modules/@types/node/readline.d.ts +0 -542
- package/node_modules/@types/node/repl.d.ts +0 -424
- package/node_modules/@types/node/stream/consumers.d.ts +0 -24
- package/node_modules/@types/node/stream/promises.d.ts +0 -42
- package/node_modules/@types/node/stream/web.d.ts +0 -6
- package/node_modules/@types/node/stream.d.ts +0 -1218
- package/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/node_modules/@types/node/timers/promises.d.ts +0 -68
- package/node_modules/@types/node/timers.d.ts +0 -94
- package/node_modules/@types/node/tls.d.ts +0 -1019
- package/node_modules/@types/node/trace_events.d.ts +0 -161
- package/node_modules/@types/node/tty.d.ts +0 -206
- package/node_modules/@types/node/url.d.ts +0 -798
- package/node_modules/@types/node/util.d.ts +0 -1564
- package/node_modules/@types/node/v8.d.ts +0 -378
- package/node_modules/@types/node/vm.d.ts +0 -508
- package/node_modules/@types/node/wasi.d.ts +0 -153
- package/node_modules/@types/node/worker_threads.d.ts +0 -649
- package/node_modules/@types/node/zlib.d.ts +0 -517
- package/node_modules/any-base/LICENSE +0 -21
- package/node_modules/any-base/README.md +0 -55
- package/node_modules/any-base/dist/any-base.js +0 -94
- package/node_modules/any-base/dist/any-base.min.js +0 -1
- package/node_modules/any-base/index.js +0 -30
- package/node_modules/any-base/package.json +0 -40
- package/node_modules/any-base/src/converter.js +0 -80
- package/node_modules/await-to-js/LICENSE +0 -7
- package/node_modules/await-to-js/README.md +0 -82
- package/node_modules/await-to-js/dist/await-to-js.es5.js +0 -19
- package/node_modules/await-to-js/dist/await-to-js.es5.js.map +0 -1
- package/node_modules/await-to-js/dist/await-to-js.umd.js +0 -29
- package/node_modules/await-to-js/dist/await-to-js.umd.js.map +0 -1
- package/node_modules/await-to-js/dist/docs/assets/css/main.css +0 -865
- package/node_modules/await-to-js/dist/docs/assets/css/main.css.map +0 -7
- package/node_modules/await-to-js/dist/docs/assets/images/icons.png +0 -0
- package/node_modules/await-to-js/dist/docs/assets/images/icons@2x.png +0 -0
- package/node_modules/await-to-js/dist/docs/assets/images/widgets.png +0 -0
- package/node_modules/await-to-js/dist/docs/assets/images/widgets@2x.png +0 -0
- package/node_modules/await-to-js/dist/docs/assets/js/main.js +0 -5
- package/node_modules/await-to-js/dist/docs/assets/js/search.js +0 -3
- package/node_modules/await-to-js/dist/docs/globals.html +0 -1060
- package/node_modules/await-to-js/dist/docs/index.html +0 -1061
- package/node_modules/await-to-js/dist/docs/modules/_await_to_js_.html +0 -1047
- package/node_modules/await-to-js/dist/types/await-to-js.d.ts +0 -7
- package/node_modules/await-to-js/package.json +0 -107
- package/node_modules/bmp-ts/LICENSE +0 -21
- package/node_modules/bmp-ts/README.md +0 -130
- package/node_modules/bmp-ts/dist/commonjs/decoder.d.ts +0 -50
- package/node_modules/bmp-ts/dist/commonjs/decoder.js +0 -408
- package/node_modules/bmp-ts/dist/commonjs/decoder.js.map +0 -1
- package/node_modules/bmp-ts/dist/commonjs/encoder.d.ts +0 -38
- package/node_modules/bmp-ts/dist/commonjs/encoder.js +0 -269
- package/node_modules/bmp-ts/dist/commonjs/encoder.js.map +0 -1
- package/node_modules/bmp-ts/dist/commonjs/header-types.d.ts +0 -8
- package/node_modules/bmp-ts/dist/commonjs/header-types.js +0 -12
- package/node_modules/bmp-ts/dist/commonjs/header-types.js.map +0 -1
- package/node_modules/bmp-ts/dist/commonjs/index.d.ts +0 -7
- package/node_modules/bmp-ts/dist/commonjs/index.js +0 -32
- package/node_modules/bmp-ts/dist/commonjs/index.js.map +0 -1
- package/node_modules/bmp-ts/dist/commonjs/mask-color.d.ts +0 -6
- package/node_modules/bmp-ts/dist/commonjs/mask-color.js +0 -61
- package/node_modules/bmp-ts/dist/commonjs/mask-color.js.map +0 -1
- package/node_modules/bmp-ts/dist/commonjs/package.json +0 -3
- package/node_modules/bmp-ts/dist/commonjs/types.d.ts +0 -67
- package/node_modules/bmp-ts/dist/commonjs/types.js +0 -12
- package/node_modules/bmp-ts/dist/commonjs/types.js.map +0 -1
- package/node_modules/bmp-ts/dist/esm/decoder.d.ts +0 -50
- package/node_modules/bmp-ts/dist/esm/decoder.js +0 -402
- package/node_modules/bmp-ts/dist/esm/decoder.js.map +0 -1
- package/node_modules/bmp-ts/dist/esm/encoder.d.ts +0 -38
- package/node_modules/bmp-ts/dist/esm/encoder.js +0 -263
- package/node_modules/bmp-ts/dist/esm/encoder.js.map +0 -1
- package/node_modules/bmp-ts/dist/esm/header-types.d.ts +0 -8
- package/node_modules/bmp-ts/dist/esm/header-types.js +0 -10
- package/node_modules/bmp-ts/dist/esm/header-types.js.map +0 -1
- package/node_modules/bmp-ts/dist/esm/index.d.ts +0 -7
- package/node_modules/bmp-ts/dist/esm/index.js +0 -10
- package/node_modules/bmp-ts/dist/esm/index.js.map +0 -1
- package/node_modules/bmp-ts/dist/esm/mask-color.d.ts +0 -6
- package/node_modules/bmp-ts/dist/esm/mask-color.js +0 -58
- package/node_modules/bmp-ts/dist/esm/mask-color.js.map +0 -1
- package/node_modules/bmp-ts/dist/esm/package.json +0 -3
- package/node_modules/bmp-ts/dist/esm/types.d.ts +0 -67
- package/node_modules/bmp-ts/dist/esm/types.js +0 -9
- package/node_modules/bmp-ts/dist/esm/types.js.map +0 -1
- package/node_modules/bmp-ts/package.json +0 -73
- package/node_modules/exif-parser/.npmignore +0 -2
- package/node_modules/exif-parser/CHANGELOG.md +0 -16
- package/node_modules/exif-parser/LICENSE.md +0 -23
- package/node_modules/exif-parser/Makefile +0 -16
- package/node_modules/exif-parser/README.md +0 -83
- package/node_modules/exif-parser/browser-global.js +0 -3
- package/node_modules/exif-parser/cmd/extract-thumbnail.js +0 -16
- package/node_modules/exif-parser/cmd/list.js +0 -9
- package/node_modules/exif-parser/index.js +0 -18
- package/node_modules/exif-parser/lib/bufferstream.js +0 -88
- package/node_modules/exif-parser/lib/date.js +0 -84
- package/node_modules/exif-parser/lib/dom-bufferstream.js +0 -98
- package/node_modules/exif-parser/lib/exif-tags.js +0 -468
- package/node_modules/exif-parser/lib/exif.js +0 -165
- package/node_modules/exif-parser/lib/jpeg.js +0 -66
- package/node_modules/exif-parser/lib/parser.js +0 -204
- package/node_modules/exif-parser/lib/simplify.js +0 -79
- package/node_modules/exif-parser/package.json +0 -23
- package/node_modules/exif-parser/test/expected-exif-tags.json +0 -364
- package/node_modules/exif-parser/test/starfish.jpg +0 -0
- package/node_modules/exif-parser/test/test-date.js +0 -60
- package/node_modules/exif-parser/test/test-exif.js +0 -26
- package/node_modules/exif-parser/test/test-jpeg.js +0 -46
- package/node_modules/exif-parser/test/test-simplify.js +0 -24
- package/node_modules/exif-parser/test/test.jpg +0 -0
- package/node_modules/gifwrap/.jshintrc +0 -4
- package/node_modules/gifwrap/LICENSE +0 -21
- package/node_modules/gifwrap/README.md +0 -668
- package/node_modules/gifwrap/index.d.ts +0 -153
- package/node_modules/gifwrap/package.json +0 -39
- package/node_modules/gifwrap/src/bitmapimage.js +0 -310
- package/node_modules/gifwrap/src/gif.js +0 -69
- package/node_modules/gifwrap/src/gifcodec.js +0 -404
- package/node_modules/gifwrap/src/gifframe.js +0 -114
- package/node_modules/gifwrap/src/gifutil.js +0 -373
- package/node_modules/gifwrap/src/index.js +0 -16
- package/node_modules/gifwrap/src/omggif.d.ts +0 -56
- package/node_modules/gifwrap/templates/README.hbs +0 -267
- package/node_modules/gifwrap/test/fixtures/count5x7.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/countConstantDelay0.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/countConstantDelay1.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/countConstantDelay3.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/countIncreasingDelay.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/hairstreak.jpg +0 -0
- package/node_modules/gifwrap/test/fixtures/lenna.png +0 -0
- package/node_modules/gifwrap/test/fixtures/nburling-public.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/pelagrina.jpg +0 -0
- package/node_modules/gifwrap/test/fixtures/penguins.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/hairstreak256_Dekker.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/hairstreak256_Sorokin.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/hairstreak256_Wu.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/hairstreak32_Dekker.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/hairstreak32_Sorokin.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/hairstreak32_Wu.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/rosewithtrans256_Dekker.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/rosewithtrans256_Sorokin.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/rosewithtrans256_Wu.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/rosewithtrans32_Dekker.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/rosewithtrans32_Sorokin.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/rosewithtrans32_Wu.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap256_Dekker.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap256_Dekker_FloydSteinberg.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap256_Sorokin.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap256_Sorokin_FloydSteinberg.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap256_Wu.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap256_Wu_FloydSteinberg.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap32_Dekker.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap32_Sorokin.png +0 -0
- package/node_modules/gifwrap/test/fixtures/quantized/sculptmap32_Wu.png +0 -0
- package/node_modules/gifwrap/test/fixtures/rnaples-frame-10.png +0 -0
- package/node_modules/gifwrap/test/fixtures/rnaples-offsets-public.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/rosewithtrans.png +0 -0
- package/node_modules/gifwrap/test/fixtures/sculptmap.png +0 -0
- package/node_modules/gifwrap/test/fixtures/singleFrameBWOpaque.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/singleFrameMonoOpaque.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/singleFrameMonoTrans.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/singleFrameMultiOpaque.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/singleFrameMultiTrans.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/singleFrameNoColorTrans.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/threeFrameMonoTrans.gif +0 -0
- package/node_modules/gifwrap/test/fixtures/twoFrameMultiOpaque.gif +0 -0
- package/node_modules/gifwrap/test/lib/bitmaps.js +0 -91
- package/node_modules/gifwrap/test/lib/tools.js +0 -202
- package/node_modules/gifwrap/test/test_bitmap.js +0 -157
- package/node_modules/gifwrap/test/test_decoding.js +0 -252
- package/node_modules/gifwrap/test/test_encoding.js +0 -307
- package/node_modules/gifwrap/test/test_frame.js +0 -276
- package/node_modules/gifwrap/test/test_properties.js +0 -277
- package/node_modules/gifwrap/test/test_quantize.js +0 -292
- package/node_modules/image-q/LICENSE +0 -49
- package/node_modules/image-q/README.md +0 -347
- package/node_modules/image-q/dist/cjs/image-q.cjs +0 -2921
- package/node_modules/image-q/dist/cjs/image-q.cjs.map +0 -7
- package/node_modules/image-q/dist/esm/image-q.mjs +0 -2886
- package/node_modules/image-q/dist/esm/image-q.mjs.map +0 -7
- package/node_modules/image-q/dist/types/src/basicAPI.d.ts +0 -22
- package/node_modules/image-q/dist/types/src/basicAPI.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/constants/bt709.d.ts +0 -30
- package/node_modules/image-q/dist/types/src/constants/bt709.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/constants/index.d.ts +0 -10
- package/node_modules/image-q/dist/types/src/constants/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/index.d.ts +0 -15
- package/node_modules/image-q/dist/types/src/conversion/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/lab2rgb.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/conversion/lab2rgb.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/lab2xyz.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/conversion/lab2xyz.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/rgb2hsl.d.ts +0 -13
- package/node_modules/image-q/dist/types/src/conversion/rgb2hsl.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/rgb2lab.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/conversion/rgb2lab.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/rgb2xyz.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/conversion/rgb2xyz.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/xyz2lab.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/conversion/xyz2lab.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/conversion/xyz2rgb.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/conversion/xyz2rgb.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/cie94.d.ts +0 -31
- package/node_modules/image-q/dist/types/src/distance/cie94.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/ciede2000.d.ts +0 -45
- package/node_modules/image-q/dist/types/src/distance/ciede2000.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/cmetric.d.ts +0 -16
- package/node_modules/image-q/dist/types/src/distance/cmetric.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/distanceCalculator.d.ts +0 -26
- package/node_modules/image-q/dist/types/src/distance/distanceCalculator.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/euclidean.d.ts +0 -34
- package/node_modules/image-q/dist/types/src/distance/euclidean.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/index.d.ts +0 -15
- package/node_modules/image-q/dist/types/src/distance/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/manhattan.d.ts +0 -35
- package/node_modules/image-q/dist/types/src/distance/manhattan.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/distance/pngQuant.d.ts +0 -37
- package/node_modules/image-q/dist/types/src/distance/pngQuant.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/array.d.ts +0 -41
- package/node_modules/image-q/dist/types/src/image/array.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/imageQuantizer.d.ts +0 -15
- package/node_modules/image-q/dist/types/src/image/imageQuantizer.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/imageQuantizerYieldValue.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/image/imageQuantizerYieldValue.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/index.d.ts +0 -13
- package/node_modules/image-q/dist/types/src/image/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/nearestColor.d.ts +0 -21
- package/node_modules/image-q/dist/types/src/image/nearestColor.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/riemersma.d.ts +0 -42
- package/node_modules/image-q/dist/types/src/image/riemersma.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/image/spaceFillingCurves/hilbertCurve.d.ts +0 -3
- package/node_modules/image-q/dist/types/src/image/spaceFillingCurves/hilbertCurve.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/index.d.ts +0 -18
- package/node_modules/image-q/dist/types/src/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/index.d.ts +0 -15
- package/node_modules/image-q/dist/types/src/palette/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/neuquant/neuquant.d.ts +0 -66
- package/node_modules/image-q/dist/types/src/palette/neuquant/neuquant.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/neuquant/neuquantFloat.d.ts +0 -66
- package/node_modules/image-q/dist/types/src/palette/neuquant/neuquantFloat.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/paletteQuantizer.d.ts +0 -15
- package/node_modules/image-q/dist/types/src/palette/paletteQuantizer.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/paletteQuantizerYieldValue.d.ts +0 -6
- package/node_modules/image-q/dist/types/src/palette/paletteQuantizerYieldValue.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/rgbquant/colorHistogram.d.ts +0 -23
- package/node_modules/image-q/dist/types/src/palette/rgbquant/colorHistogram.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/rgbquant/rgbquant.d.ts +0 -16
- package/node_modules/image-q/dist/types/src/palette/rgbquant/rgbquant.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/palette/wu/wuQuant.d.ts +0 -79
- package/node_modules/image-q/dist/types/src/palette/wu/wuQuant.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/quality/index.d.ts +0 -9
- package/node_modules/image-q/dist/types/src/quality/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/quality/ssim.d.ts +0 -10
- package/node_modules/image-q/dist/types/src/quality/ssim.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/arithmetic.d.ts +0 -8
- package/node_modules/image-q/dist/types/src/utils/arithmetic.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/hueStatistics.d.ts +0 -11
- package/node_modules/image-q/dist/types/src/utils/hueStatistics.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/index.d.ts +0 -15
- package/node_modules/image-q/dist/types/src/utils/index.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/palette.d.ts +0 -25
- package/node_modules/image-q/dist/types/src/utils/palette.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/point.d.ts +0 -29
- package/node_modules/image-q/dist/types/src/utils/point.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/pointContainer.d.ts +0 -34
- package/node_modules/image-q/dist/types/src/utils/pointContainer.d.ts.map +0 -1
- package/node_modules/image-q/dist/types/src/utils/progressTracker.d.ts +0 -11
- package/node_modules/image-q/dist/types/src/utils/progressTracker.d.ts.map +0 -1
- package/node_modules/image-q/package.json +0 -62
- package/node_modules/image-q/src/basicAPI.ts +0 -287
- package/node_modules/image-q/src/constants/bt709.ts +0 -32
- package/node_modules/image-q/src/constants/index.ts +0 -10
- package/node_modules/image-q/src/conversion/index.ts +0 -14
- package/node_modules/image-q/src/conversion/lab2rgb.ts +0 -14
- package/node_modules/image-q/src/conversion/lab2xyz.ts +0 -26
- package/node_modules/image-q/src/conversion/rgb2hsl.ts +0 -40
- package/node_modules/image-q/src/conversion/rgb2lab.ts +0 -14
- package/node_modules/image-q/src/conversion/rgb2xyz.ts +0 -24
- package/node_modules/image-q/src/conversion/xyz2lab.ts +0 -27
- package/node_modules/image-q/src/conversion/xyz2rgb.ts +0 -26
- package/node_modules/image-q/src/distance/cie94.ts +0 -86
- package/node_modules/image-q/src/distance/ciede2000.ts +0 -178
- package/node_modules/image-q/src/distance/cmetric.ts +0 -38
- package/node_modules/image-q/src/distance/distanceCalculator.ts +0 -66
- package/node_modules/image-q/src/distance/euclidean.ts +0 -75
- package/node_modules/image-q/src/distance/index.ts +0 -24
- package/node_modules/image-q/src/distance/manhattan.ts +0 -77
- package/node_modules/image-q/src/distance/pngQuant.ts +0 -74
- package/node_modules/image-q/src/image/array.ts +0 -317
- package/node_modules/image-q/src/image/imageQuantizer.ts +0 -27
- package/node_modules/image-q/src/image/imageQuantizerYieldValue.ts +0 -6
- package/node_modules/image-q/src/image/index.ts +0 -13
- package/node_modules/image-q/src/image/nearestColor.ts +0 -54
- package/node_modules/image-q/src/image/riemersma.ts +0 -135
- package/node_modules/image-q/src/image/spaceFillingCurves/hilbertCurve.ts +0 -126
- package/node_modules/image-q/src/index.ts +0 -29
- package/node_modules/image-q/src/missing-types.d.ts +0 -1
- package/node_modules/image-q/src/palette/index.ts +0 -14
- package/node_modules/image-q/src/palette/neuquant/neuquant.ts +0 -405
- package/node_modules/image-q/src/palette/neuquant/neuquantFloat.ts +0 -383
- package/node_modules/image-q/src/palette/paletteQuantizer.ts +0 -24
- package/node_modules/image-q/src/palette/paletteQuantizerYieldValue.ts +0 -6
- package/node_modules/image-q/src/palette/rgbquant/colorHistogram.ts +0 -224
- package/node_modules/image-q/src/palette/rgbquant/rgbquant.ts +0 -196
- package/node_modules/image-q/src/palette/wu/wuQuant.ts +0 -1124
- package/node_modules/image-q/src/quality/index.ts +0 -8
- package/node_modules/image-q/src/quality/ssim.ts +0 -145
- package/node_modules/image-q/src/utils/arithmetic.ts +0 -62
- package/node_modules/image-q/src/utils/hueStatistics.ts +0 -88
- package/node_modules/image-q/src/utils/index.ts +0 -22
- package/node_modules/image-q/src/utils/palette.ts +0 -219
- package/node_modules/image-q/src/utils/point.ts +0 -167
- package/node_modules/image-q/src/utils/pointContainer.ts +0 -148
- package/node_modules/image-q/src/utils/progressTracker.ts +0 -31
- package/node_modules/jimp/LICENSE +0 -21
- package/node_modules/jimp/README.md +0 -41
- package/node_modules/jimp/dist/browser/fonts.d.ts +0 -5
- package/node_modules/jimp/dist/browser/fonts.d.ts.map +0 -1
- package/node_modules/jimp/dist/browser/fonts.js +0 -5
- package/node_modules/jimp/dist/browser/fonts.js.map +0 -1
- package/node_modules/jimp/dist/browser/index-browser.d.mts.map +0 -1
- package/node_modules/jimp/dist/browser/index-browser.mjs.map +0 -1
- package/node_modules/jimp/dist/browser/index.d.ts +0 -2
- package/node_modules/jimp/dist/browser/index.js +0 -3
- package/node_modules/jimp/dist/browser/index.js.map +0 -1
- package/node_modules/jimp/dist/browser/package.json +0 -3
- package/node_modules/jimp/dist/commonjs/fonts.d.ts +0 -5
- package/node_modules/jimp/dist/commonjs/fonts.d.ts.map +0 -1
- package/node_modules/jimp/dist/commonjs/fonts.js +0 -21
- package/node_modules/jimp/dist/commonjs/fonts.js.map +0 -1
- package/node_modules/jimp/dist/commonjs/index.d.ts +0 -1764
- package/node_modules/jimp/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/jimp/dist/commonjs/index.js +0 -187
- package/node_modules/jimp/dist/commonjs/index.js.map +0 -1
- package/node_modules/jimp/dist/commonjs/package.json +0 -3
- package/node_modules/jimp/dist/esm/fonts.d.ts +0 -5
- package/node_modules/jimp/dist/esm/fonts.d.ts.map +0 -1
- package/node_modules/jimp/dist/esm/fonts.js +0 -5
- package/node_modules/jimp/dist/esm/fonts.js.map +0 -1
- package/node_modules/jimp/dist/esm/index.d.ts +0 -1764
- package/node_modules/jimp/dist/esm/index.d.ts.map +0 -1
- package/node_modules/jimp/dist/esm/index.js +0 -140
- package/node_modules/jimp/dist/esm/index.js.map +0 -1
- package/node_modules/jimp/dist/esm/package.json +0 -3
- package/node_modules/jimp/package.json +0 -146
- package/node_modules/jpeg-js/.github/workflows/ci.yml +0 -19
- package/node_modules/jpeg-js/CONTRIBUTING.md +0 -27
- package/node_modules/jpeg-js/LICENSE +0 -25
- package/node_modules/jpeg-js/README.md +0 -176
- package/node_modules/jpeg-js/index.d.ts +0 -36
- package/node_modules/jpeg-js/index.js +0 -7
- package/node_modules/jpeg-js/lib/decoder.js +0 -1151
- package/node_modules/jpeg-js/lib/encoder.js +0 -814
- package/node_modules/jpeg-js/package.json +0 -32
- package/node_modules/mime/CHANGELOG.md +0 -312
- package/node_modules/mime/LICENSE +0 -21
- package/node_modules/mime/Mime.js +0 -97
- package/node_modules/mime/README.md +0 -178
- package/node_modules/mime/cli.js +0 -46
- package/node_modules/mime/index.js +0 -4
- package/node_modules/mime/lite.js +0 -4
- package/node_modules/mime/package.json +0 -52
- package/node_modules/mime/types/other.js +0 -1
- package/node_modules/mime/types/standard.js +0 -1
- package/node_modules/omggif/README +0 -24
- package/node_modules/omggif/example_node.js +0 -116
- package/node_modules/omggif/omggif.js +0 -807
- package/node_modules/omggif/package.json +0 -12
- package/node_modules/omggif/plask_viewer.js +0 -42
- package/node_modules/pako/CHANGELOG.md +0 -164
- package/node_modules/pako/LICENSE +0 -21
- package/node_modules/pako/README.md +0 -191
- package/node_modules/pako/dist/pako.js +0 -6818
- package/node_modules/pako/dist/pako.min.js +0 -1
- package/node_modules/pako/dist/pako_deflate.js +0 -3997
- package/node_modules/pako/dist/pako_deflate.min.js +0 -1
- package/node_modules/pako/dist/pako_inflate.js +0 -3300
- package/node_modules/pako/dist/pako_inflate.min.js +0 -1
- package/node_modules/pako/index.js +0 -14
- package/node_modules/pako/lib/deflate.js +0 -400
- package/node_modules/pako/lib/inflate.js +0 -423
- package/node_modules/pako/lib/utils/common.js +0 -105
- package/node_modules/pako/lib/utils/strings.js +0 -187
- package/node_modules/pako/lib/zlib/README +0 -59
- package/node_modules/pako/lib/zlib/adler32.js +0 -51
- package/node_modules/pako/lib/zlib/constants.js +0 -68
- package/node_modules/pako/lib/zlib/crc32.js +0 -59
- package/node_modules/pako/lib/zlib/deflate.js +0 -1874
- package/node_modules/pako/lib/zlib/gzheader.js +0 -58
- package/node_modules/pako/lib/zlib/inffast.js +0 -345
- package/node_modules/pako/lib/zlib/inflate.js +0 -1556
- package/node_modules/pako/lib/zlib/inftrees.js +0 -343
- package/node_modules/pako/lib/zlib/messages.js +0 -32
- package/node_modules/pako/lib/zlib/trees.js +0 -1222
- package/node_modules/pako/lib/zlib/zstream.js +0 -47
- package/node_modules/pako/package.json +0 -44
- package/node_modules/parse-bmfont-ascii/README.md +0 -56
- package/node_modules/parse-bmfont-ascii/index.js +0 -108
- package/node_modules/parse-bmfont-ascii/package.json +0 -45
- package/node_modules/parse-bmfont-binary/LICENSE.md +0 -21
- package/node_modules/parse-bmfont-binary/README.md +0 -37
- package/node_modules/parse-bmfont-binary/index.js +0 -160
- package/node_modules/parse-bmfont-binary/package.json +0 -42
- package/node_modules/parse-bmfont-xml/LICENSE.md +0 -21
- package/node_modules/parse-bmfont-xml/README.md +0 -74
- package/node_modules/parse-bmfont-xml/lib/browser.js +0 -85
- package/node_modules/parse-bmfont-xml/lib/index.js +0 -49
- package/node_modules/parse-bmfont-xml/lib/parse-attribs.js +0 -29
- package/node_modules/parse-bmfont-xml/package.json +0 -56
- package/node_modules/pixelmatch/LICENSE +0 -15
- package/node_modules/pixelmatch/README.md +0 -110
- package/node_modules/pixelmatch/bin/pixelmatch +0 -42
- package/node_modules/pixelmatch/index.js +0 -236
- package/node_modules/pixelmatch/node_modules/pngjs/LICENSE +0 -20
- package/node_modules/pixelmatch/node_modules/pngjs/README.md +0 -433
- package/node_modules/pixelmatch/node_modules/pngjs/browser.js +0 -18554
- package/node_modules/pixelmatch/node_modules/pngjs/lib/bitmapper.js +0 -267
- package/node_modules/pixelmatch/node_modules/pngjs/lib/bitpacker.js +0 -158
- package/node_modules/pixelmatch/node_modules/pngjs/lib/chunkstream.js +0 -189
- package/node_modules/pixelmatch/node_modules/pngjs/lib/constants.js +0 -32
- package/node_modules/pixelmatch/node_modules/pngjs/lib/crc.js +0 -40
- package/node_modules/pixelmatch/node_modules/pngjs/lib/filter-pack.js +0 -171
- package/node_modules/pixelmatch/node_modules/pngjs/lib/filter-parse-async.js +0 -24
- package/node_modules/pixelmatch/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
- package/node_modules/pixelmatch/node_modules/pngjs/lib/filter-parse.js +0 -177
- package/node_modules/pixelmatch/node_modules/pngjs/lib/format-normaliser.js +0 -93
- package/node_modules/pixelmatch/node_modules/pngjs/lib/interlace.js +0 -95
- package/node_modules/pixelmatch/node_modules/pngjs/lib/packer-async.js +0 -50
- package/node_modules/pixelmatch/node_modules/pngjs/lib/packer-sync.js +0 -56
- package/node_modules/pixelmatch/node_modules/pngjs/lib/packer.js +0 -129
- package/node_modules/pixelmatch/node_modules/pngjs/lib/paeth-predictor.js +0 -16
- package/node_modules/pixelmatch/node_modules/pngjs/lib/parser-async.js +0 -169
- package/node_modules/pixelmatch/node_modules/pngjs/lib/parser-sync.js +0 -112
- package/node_modules/pixelmatch/node_modules/pngjs/lib/parser.js +0 -290
- package/node_modules/pixelmatch/node_modules/pngjs/lib/png-sync.js +0 -12
- package/node_modules/pixelmatch/node_modules/pngjs/lib/png.js +0 -194
- package/node_modules/pixelmatch/node_modules/pngjs/lib/sync-inflate.js +0 -168
- package/node_modules/pixelmatch/node_modules/pngjs/lib/sync-reader.js +0 -45
- package/node_modules/pixelmatch/node_modules/pngjs/package.json +0 -77
- package/node_modules/pixelmatch/package.json +0 -42
- package/node_modules/pngjs/CHANGELOG.md +0 -128
- package/node_modules/pngjs/LICENSE +0 -20
- package/node_modules/pngjs/README.md +0 -287
- package/node_modules/pngjs/browser.js +0 -18985
- package/node_modules/pngjs/lib/bitmapper.js +0 -267
- package/node_modules/pngjs/lib/bitpacker.js +0 -158
- package/node_modules/pngjs/lib/chunkstream.js +0 -189
- package/node_modules/pngjs/lib/constants.js +0 -32
- package/node_modules/pngjs/lib/crc.js +0 -40
- package/node_modules/pngjs/lib/filter-pack.js +0 -171
- package/node_modules/pngjs/lib/filter-parse-async.js +0 -24
- package/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
- package/node_modules/pngjs/lib/filter-parse.js +0 -177
- package/node_modules/pngjs/lib/format-normaliser.js +0 -93
- package/node_modules/pngjs/lib/interlace.js +0 -95
- package/node_modules/pngjs/lib/packer-async.js +0 -50
- package/node_modules/pngjs/lib/packer-sync.js +0 -56
- package/node_modules/pngjs/lib/packer.js +0 -129
- package/node_modules/pngjs/lib/paeth-predictor.js +0 -16
- package/node_modules/pngjs/lib/parser-async.js +0 -169
- package/node_modules/pngjs/lib/parser-sync.js +0 -112
- package/node_modules/pngjs/lib/parser.js +0 -290
- package/node_modules/pngjs/lib/png-sync.js +0 -12
- package/node_modules/pngjs/lib/png.js +0 -194
- package/node_modules/pngjs/lib/sync-inflate.js +0 -168
- package/node_modules/pngjs/lib/sync-reader.js +0 -45
- package/node_modules/pngjs/package.json +0 -76
- package/node_modules/sax/LICENSE.md +0 -55
- package/node_modules/sax/README.md +0 -227
- package/node_modules/sax/lib/sax.js +0 -1848
- package/node_modules/sax/package.json +0 -34
- package/node_modules/simple-xml-to-json/README.md +0 -87
- package/node_modules/simple-xml-to-json/lib/simpleXmlToJson.js +0 -590
- package/node_modules/simple-xml-to-json/lib/simpleXmlToJson.min.js +0 -1
- package/node_modules/simple-xml-to-json/lib/simpleXmlToJson.min.mjs +0 -1
- package/node_modules/simple-xml-to-json/lib/simpleXmlToJson.mjs +0 -591
- package/node_modules/simple-xml-to-json/license +0 -21
- package/node_modules/simple-xml-to-json/package.json +0 -85
- package/node_modules/simple-xml-to-json/typings/simple-xml-to-json.d.ts +0 -15
- package/node_modules/tinycolor2/LICENSE +0 -20
- package/node_modules/tinycolor2/README.md +0 -492
- package/node_modules/tinycolor2/cjs/package.json +0 -3
- package/node_modules/tinycolor2/cjs/test.js +0 -2191
- package/node_modules/tinycolor2/cjs/test_template.js +0 -26
- package/node_modules/tinycolor2/cjs/tinycolor.js +0 -1188
- package/node_modules/tinycolor2/deno_asserts@0.168.0.mjs +0 -807
- package/node_modules/tinycolor2/dist/tinycolor-min.js +0 -5
- package/node_modules/tinycolor2/esm/package.json +0 -3
- package/node_modules/tinycolor2/esm/test.js +0 -2189
- package/node_modules/tinycolor2/esm/test_template.js +0 -24
- package/node_modules/tinycolor2/esm/tinycolor.js +0 -1180
- package/node_modules/tinycolor2/package.json +0 -35
- package/node_modules/tinycolor2/tinycolor.js +0 -1191
- package/node_modules/utif2/LICENSE +0 -21
- package/node_modules/utif2/README.md +0 -86
- package/node_modules/utif2/UTIF.d.ts +0 -72
- package/node_modules/utif2/UTIF.js +0 -1649
- package/node_modules/utif2/package.json +0 -27
- package/node_modules/xml-parse-from-string/LICENSE.md +0 -21
- package/node_modules/xml-parse-from-string/README.md +0 -35
- package/node_modules/xml-parse-from-string/index.js +0 -27
- package/node_modules/xml-parse-from-string/package.json +0 -45
- package/node_modules/xml2js/LICENSE +0 -19
- package/node_modules/xml2js/README.md +0 -507
- package/node_modules/xml2js/lib/bom.js +0 -12
- package/node_modules/xml2js/lib/builder.js +0 -127
- package/node_modules/xml2js/lib/defaults.js +0 -72
- package/node_modules/xml2js/lib/parser.js +0 -385
- package/node_modules/xml2js/lib/processors.js +0 -34
- package/node_modules/xml2js/lib/xml2js.js +0 -39
- package/node_modules/xml2js/package.json +0 -93
- package/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/node_modules/xmlbuilder/LICENSE +0 -21
- package/node_modules/xmlbuilder/README.md +0 -86
- package/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/node_modules/xmlbuilder/lib/index.js +0 -65
- package/node_modules/xmlbuilder/package.json +0 -39
- package/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -208
- package/node_modules/zod/index.cjs +0 -33
- package/node_modules/zod/index.d.cts +0 -4
- package/node_modules/zod/index.d.ts +0 -4
- package/node_modules/zod/index.js +0 -4
- package/node_modules/zod/package.json +0 -118
- package/node_modules/zod/src/index.ts +0 -4
- package/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v3/types.ts +0 -5136
- package/node_modules/zod/src/v4/classic/checks.ts +0 -30
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -66
- package/node_modules/zod/src/v4/classic/errors.ts +0 -75
- package/node_modules/zod/src/v4/classic/external.ts +0 -50
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/node_modules/zod/src/v4/classic/parse.ts +0 -33
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/api.ts +0 -1594
- package/node_modules/zod/src/v4/core/checks.ts +0 -1283
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- package/node_modules/zod/src/v4/core/core.ts +0 -134
- package/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/node_modules/zod/src/v4/core/errors.ts +0 -424
- package/node_modules/zod/src/v4/core/function.ts +0 -176
- package/node_modules/zod/src/v4/core/index.ts +0 -15
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
- package/node_modules/zod/src/v4/core/parse.ts +0 -94
- package/node_modules/zod/src/v4/core/regexes.ts +0 -135
- package/node_modules/zod/src/v4/core/registries.ts +0 -96
- package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
- package/node_modules/zod/src/v4/core/util.ts +0 -775
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -125
- package/node_modules/zod/src/v4/locales/az.ts +0 -121
- package/node_modules/zod/src/v4/locales/be.ts +0 -184
- package/node_modules/zod/src/v4/locales/ca.ts +0 -127
- package/node_modules/zod/src/v4/locales/cs.ts +0 -142
- package/node_modules/zod/src/v4/locales/de.ts +0 -124
- package/node_modules/zod/src/v4/locales/en.ts +0 -127
- package/node_modules/zod/src/v4/locales/eo.ts +0 -125
- package/node_modules/zod/src/v4/locales/es.ts +0 -125
- package/node_modules/zod/src/v4/locales/fa.ts +0 -134
- package/node_modules/zod/src/v4/locales/fi.ts +0 -131
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
- package/node_modules/zod/src/v4/locales/fr.ts +0 -124
- package/node_modules/zod/src/v4/locales/he.ts +0 -125
- package/node_modules/zod/src/v4/locales/hu.ts +0 -126
- package/node_modules/zod/src/v4/locales/id.ts +0 -125
- package/node_modules/zod/src/v4/locales/index.ts +0 -39
- package/node_modules/zod/src/v4/locales/it.ts +0 -125
- package/node_modules/zod/src/v4/locales/ja.ts +0 -122
- package/node_modules/zod/src/v4/locales/kh.ts +0 -126
- package/node_modules/zod/src/v4/locales/ko.ts +0 -131
- package/node_modules/zod/src/v4/locales/mk.ts +0 -127
- package/node_modules/zod/src/v4/locales/ms.ts +0 -124
- package/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/node_modules/zod/src/v4/locales/no.ts +0 -124
- package/node_modules/zod/src/v4/locales/ota.ts +0 -125
- package/node_modules/zod/src/v4/locales/pl.ts +0 -126
- package/node_modules/zod/src/v4/locales/ps.ts +0 -133
- package/node_modules/zod/src/v4/locales/pt.ts +0 -123
- package/node_modules/zod/src/v4/locales/ru.ts +0 -184
- package/node_modules/zod/src/v4/locales/sl.ts +0 -126
- package/node_modules/zod/src/v4/locales/sv.ts +0 -127
- package/node_modules/zod/src/v4/locales/ta.ts +0 -125
- package/node_modules/zod/src/v4/locales/th.ts +0 -126
- package/node_modules/zod/src/v4/locales/tr.ts +0 -121
- package/node_modules/zod/src/v4/locales/ua.ts +0 -126
- package/node_modules/zod/src/v4/locales/ur.ts +0 -126
- package/node_modules/zod/src/v4/locales/vi.ts +0 -125
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
- package/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
- package/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -62
- package/node_modules/zod/src/v4/mini/parse.ts +0 -1
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
- package/node_modules/zod/src/v4-mini/index.ts +0 -1
- package/node_modules/zod/v3/ZodError.cjs +0 -138
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/ZodError.js +0 -133
- package/node_modules/zod/v3/errors.cjs +0 -17
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/errors.js +0 -9
- package/node_modules/zod/v3/external.cjs +0 -22
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/external.js +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/helpers/util.js +0 -133
- package/node_modules/zod/v3/index.cjs +0 -33
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/index.js +0 -4
- package/node_modules/zod/v3/locales/en.cjs +0 -111
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/locales/en.js +0 -109
- package/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/standard-schema.js +0 -1
- package/node_modules/zod/v3/types.cjs +0 -3775
- package/node_modules/zod/v3/types.d.cts +0 -1031
- package/node_modules/zod/v3/types.d.ts +0 -1031
- package/node_modules/zod/v3/types.js +0 -3693
- package/node_modules/zod/v4/classic/checks.cjs +0 -32
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/checks.js +0 -1
- package/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/coerce.js +0 -17
- package/node_modules/zod/v4/classic/compat.cjs +0 -57
- package/node_modules/zod/v4/classic/compat.d.cts +0 -46
- package/node_modules/zod/v4/classic/compat.d.ts +0 -46
- package/node_modules/zod/v4/classic/compat.js +0 -27
- package/node_modules/zod/v4/classic/errors.cjs +0 -67
- package/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/zod/v4/classic/errors.js +0 -41
- package/node_modules/zod/v4/classic/external.cjs +0 -70
- package/node_modules/zod/v4/classic/external.d.cts +0 -13
- package/node_modules/zod/v4/classic/external.d.ts +0 -13
- package/node_modules/zod/v4/classic/external.js +0 -18
- package/node_modules/zod/v4/classic/index.cjs +0 -33
- package/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/zod/v4/classic/index.js +0 -4
- package/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/zod/v4/classic/iso.js +0 -30
- package/node_modules/zod/v4/classic/parse.cjs +0 -32
- package/node_modules/zod/v4/classic/parse.d.cts +0 -23
- package/node_modules/zod/v4/classic/parse.d.ts +0 -23
- package/node_modules/zod/v4/classic/parse.js +0 -6
- package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
- package/node_modules/zod/v4/classic/schemas.js +0 -1006
- package/node_modules/zod/v4/core/api.cjs +0 -1039
- package/node_modules/zod/v4/core/api.d.cts +0 -284
- package/node_modules/zod/v4/core/api.d.ts +0 -284
- package/node_modules/zod/v4/core/api.js +0 -906
- package/node_modules/zod/v4/core/checks.cjs +0 -591
- package/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/zod/v4/core/checks.js +0 -565
- package/node_modules/zod/v4/core/core.cjs +0 -67
- package/node_modules/zod/v4/core/core.d.cts +0 -49
- package/node_modules/zod/v4/core/core.d.ts +0 -49
- package/node_modules/zod/v4/core/core.js +0 -61
- package/node_modules/zod/v4/core/doc.cjs +0 -39
- package/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/zod/v4/core/doc.js +0 -35
- package/node_modules/zod/v4/core/errors.cjs +0 -226
- package/node_modules/zod/v4/core/errors.d.cts +0 -208
- package/node_modules/zod/v4/core/errors.d.ts +0 -208
- package/node_modules/zod/v4/core/errors.js +0 -195
- package/node_modules/zod/v4/core/function.cjs +0 -102
- package/node_modules/zod/v4/core/function.d.cts +0 -52
- package/node_modules/zod/v4/core/function.d.ts +0 -52
- package/node_modules/zod/v4/core/function.js +0 -75
- package/node_modules/zod/v4/core/index.cjs +0 -44
- package/node_modules/zod/v4/core/index.d.cts +0 -15
- package/node_modules/zod/v4/core/index.d.ts +0 -15
- package/node_modules/zod/v4/core/index.js +0 -15
- package/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
- package/node_modules/zod/v4/core/json-schema.js +0 -1
- package/node_modules/zod/v4/core/parse.cjs +0 -87
- package/node_modules/zod/v4/core/parse.d.cts +0 -25
- package/node_modules/zod/v4/core/parse.d.ts +0 -25
- package/node_modules/zod/v4/core/parse.js +0 -57
- package/node_modules/zod/v4/core/regexes.cjs +0 -103
- package/node_modules/zod/v4/core/regexes.d.cts +0 -62
- package/node_modules/zod/v4/core/regexes.d.ts +0 -62
- package/node_modules/zod/v4/core/regexes.js +0 -95
- package/node_modules/zod/v4/core/registries.cjs +0 -56
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/registries.js +0 -51
- package/node_modules/zod/v4/core/schemas.cjs +0 -1748
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
- package/node_modules/zod/v4/core/schemas.js +0 -1717
- package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
- package/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
- package/node_modules/zod/v4/core/to-json-schema.js +0 -849
- package/node_modules/zod/v4/core/util.cjs +0 -539
- package/node_modules/zod/v4/core/util.d.cts +0 -183
- package/node_modules/zod/v4/core/util.d.ts +0 -183
- package/node_modules/zod/v4/core/util.js +0 -493
- package/node_modules/zod/v4/core/versions.cjs +0 -8
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/core/versions.js +0 -5
- package/node_modules/zod/v4/index.cjs +0 -22
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/index.js +0 -3
- package/node_modules/zod/v4/locales/ar.cjs +0 -142
- package/node_modules/zod/v4/locales/ar.d.cts +0 -4
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/ar.js +0 -116
- package/node_modules/zod/v4/locales/az.cjs +0 -141
- package/node_modules/zod/v4/locales/az.d.cts +0 -4
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.js +0 -115
- package/node_modules/zod/v4/locales/be.cjs +0 -190
- package/node_modules/zod/v4/locales/be.d.cts +0 -4
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.js +0 -164
- package/node_modules/zod/v4/locales/ca.cjs +0 -144
- package/node_modules/zod/v4/locales/ca.d.cts +0 -4
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.js +0 -118
- package/node_modules/zod/v4/locales/cs.cjs +0 -161
- package/node_modules/zod/v4/locales/cs.d.cts +0 -4
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.js +0 -135
- package/node_modules/zod/v4/locales/de.cjs +0 -142
- package/node_modules/zod/v4/locales/de.d.cts +0 -4
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.js +0 -116
- package/node_modules/zod/v4/locales/en.cjs +0 -145
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -5
- package/node_modules/zod/v4/locales/en.js +0 -117
- package/node_modules/zod/v4/locales/eo.cjs +0 -144
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -5
- package/node_modules/zod/v4/locales/eo.js +0 -116
- package/node_modules/zod/v4/locales/es.cjs +0 -143
- package/node_modules/zod/v4/locales/es.d.cts +0 -4
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.js +0 -117
- package/node_modules/zod/v4/locales/fa.cjs +0 -148
- package/node_modules/zod/v4/locales/fa.d.cts +0 -4
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.js +0 -122
- package/node_modules/zod/v4/locales/fi.cjs +0 -148
- package/node_modules/zod/v4/locales/fi.d.cts +0 -4
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.js +0 -122
- package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.js +0 -117
- package/node_modules/zod/v4/locales/fr.cjs +0 -142
- package/node_modules/zod/v4/locales/fr.d.cts +0 -4
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.js +0 -116
- package/node_modules/zod/v4/locales/he.cjs +0 -143
- package/node_modules/zod/v4/locales/he.d.cts +0 -4
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.js +0 -117
- package/node_modules/zod/v4/locales/hu.cjs +0 -143
- package/node_modules/zod/v4/locales/hu.d.cts +0 -4
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.js +0 -117
- package/node_modules/zod/v4/locales/id.cjs +0 -142
- package/node_modules/zod/v4/locales/id.d.cts +0 -4
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.js +0 -116
- package/node_modules/zod/v4/locales/index.cjs +0 -84
- package/node_modules/zod/v4/locales/index.d.cts +0 -39
- package/node_modules/zod/v4/locales/index.d.ts +0 -39
- package/node_modules/zod/v4/locales/index.js +0 -39
- package/node_modules/zod/v4/locales/it.cjs +0 -143
- package/node_modules/zod/v4/locales/it.d.cts +0 -4
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.js +0 -117
- package/node_modules/zod/v4/locales/ja.cjs +0 -141
- package/node_modules/zod/v4/locales/ja.d.cts +0 -4
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.js +0 -115
- package/node_modules/zod/v4/locales/kh.cjs +0 -143
- package/node_modules/zod/v4/locales/kh.d.cts +0 -4
- package/node_modules/zod/v4/locales/kh.d.ts +0 -4
- package/node_modules/zod/v4/locales/kh.js +0 -117
- package/node_modules/zod/v4/locales/ko.cjs +0 -147
- package/node_modules/zod/v4/locales/ko.d.cts +0 -4
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.js +0 -121
- package/node_modules/zod/v4/locales/mk.cjs +0 -144
- package/node_modules/zod/v4/locales/mk.d.cts +0 -4
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.js +0 -118
- package/node_modules/zod/v4/locales/ms.cjs +0 -142
- package/node_modules/zod/v4/locales/ms.d.cts +0 -4
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.js +0 -116
- package/node_modules/zod/v4/locales/nl.cjs +0 -143
- package/node_modules/zod/v4/locales/nl.d.cts +0 -4
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.js +0 -117
- package/node_modules/zod/v4/locales/no.cjs +0 -142
- package/node_modules/zod/v4/locales/no.d.cts +0 -4
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.js +0 -116
- package/node_modules/zod/v4/locales/ota.cjs +0 -143
- package/node_modules/zod/v4/locales/ota.d.cts +0 -4
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.js +0 -117
- package/node_modules/zod/v4/locales/pl.cjs +0 -143
- package/node_modules/zod/v4/locales/pl.d.cts +0 -4
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.js +0 -117
- package/node_modules/zod/v4/locales/ps.cjs +0 -148
- package/node_modules/zod/v4/locales/ps.d.cts +0 -4
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.js +0 -122
- package/node_modules/zod/v4/locales/pt.cjs +0 -142
- package/node_modules/zod/v4/locales/pt.d.cts +0 -4
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.js +0 -116
- package/node_modules/zod/v4/locales/ru.cjs +0 -190
- package/node_modules/zod/v4/locales/ru.d.cts +0 -4
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.js +0 -164
- package/node_modules/zod/v4/locales/sl.cjs +0 -143
- package/node_modules/zod/v4/locales/sl.d.cts +0 -4
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.js +0 -117
- package/node_modules/zod/v4/locales/sv.cjs +0 -144
- package/node_modules/zod/v4/locales/sv.d.cts +0 -4
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.js +0 -118
- package/node_modules/zod/v4/locales/ta.cjs +0 -143
- package/node_modules/zod/v4/locales/ta.d.cts +0 -4
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.js +0 -117
- package/node_modules/zod/v4/locales/th.cjs +0 -143
- package/node_modules/zod/v4/locales/th.d.cts +0 -4
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.js +0 -117
- package/node_modules/zod/v4/locales/tr.cjs +0 -143
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -5
- package/node_modules/zod/v4/locales/tr.js +0 -115
- package/node_modules/zod/v4/locales/ua.cjs +0 -143
- package/node_modules/zod/v4/locales/ua.d.cts +0 -4
- package/node_modules/zod/v4/locales/ua.d.ts +0 -4
- package/node_modules/zod/v4/locales/ua.js +0 -117
- package/node_modules/zod/v4/locales/ur.cjs +0 -143
- package/node_modules/zod/v4/locales/ur.d.cts +0 -4
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.js +0 -117
- package/node_modules/zod/v4/locales/vi.cjs +0 -142
- package/node_modules/zod/v4/locales/vi.d.cts +0 -4
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.js +0 -116
- package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.js +0 -116
- package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.js +0 -117
- package/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/checks.js +0 -1
- package/node_modules/zod/v4/mini/coerce.cjs +0 -47
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/coerce.js +0 -17
- package/node_modules/zod/v4/mini/external.cjs +0 -62
- package/node_modules/zod/v4/mini/external.d.cts +0 -11
- package/node_modules/zod/v4/mini/external.d.ts +0 -11
- package/node_modules/zod/v4/mini/external.js +0 -13
- package/node_modules/zod/v4/mini/index.cjs +0 -32
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/index.js +0 -3
- package/node_modules/zod/v4/mini/iso.cjs +0 -60
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/iso.js +0 -30
- package/node_modules/zod/v4/mini/parse.cjs +0 -8
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/parse.js +0 -1
- package/node_modules/zod/v4/mini/schemas.cjs +0 -839
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
- package/node_modules/zod/v4/mini/schemas.js +0 -732
- package/node_modules/zod/v4-mini/index.cjs +0 -17
- package/node_modules/zod/v4-mini/index.d.cts +0 -1
- package/node_modules/zod/v4-mini/index.d.ts +0 -1
- package/node_modules/zod/v4-mini/index.js +0 -1
|
@@ -1,1904 +0,0 @@
|
|
|
1
|
-
import { Bitmap, Format, JimpClass, Edge } from "@jimp/types";
|
|
2
|
-
import { BlendMode } from "./index.js";
|
|
3
|
-
export { getExifOrientation } from "./utils/image-bitmap.js";
|
|
4
|
-
export { composite } from "./utils/composite.js";
|
|
5
|
-
export * from "./utils/constants.js";
|
|
6
|
-
export interface RawImageData {
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
data: Buffer | Uint8Array | Uint8ClampedArray | number[];
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Instead of loading an image into an instance you can initialize a new Jimp instance with a empty bitmap.
|
|
13
|
-
*/
|
|
14
|
-
export interface JimpSimpleConstructorOptions {
|
|
15
|
-
height: number;
|
|
16
|
-
width: number;
|
|
17
|
-
/**
|
|
18
|
-
* Initialize the image with a color for each pixel
|
|
19
|
-
*/
|
|
20
|
-
color?: number | string;
|
|
21
|
-
}
|
|
22
|
-
export type JimpConstructorOptions = Bitmap | JimpSimpleConstructorOptions;
|
|
23
|
-
/** Converts a jimp plugin function to a Jimp class method */
|
|
24
|
-
type JimpInstanceMethod<ClassInstance, MethodMap, Method> = Method extends JimpChainableMethod<infer Args> ? (...args: Args) => JimpInstanceMethods<ClassInstance, MethodMap> & ClassInstance : Method extends JimpMethod<infer Args, infer Return> ? (...args: Args) => Return : never;
|
|
25
|
-
/** Converts a Record of jimp plugin functions to a Record of Jimp class methods */
|
|
26
|
-
export type JimpInstanceMethods<ClassInstance, MethodMap> = {
|
|
27
|
-
[Key in keyof MethodMap]: JimpInstanceMethod<ClassInstance, MethodMap, MethodMap[Key]>;
|
|
28
|
-
};
|
|
29
|
-
/** A Jimp instance method that can be chained. */
|
|
30
|
-
type JimpChainableMethod<Args extends any[] = any[], J extends JimpClass = JimpClass> = (img: J, ...args: Args) => J;
|
|
31
|
-
/** A Jimp instance method that returns anything. */
|
|
32
|
-
type JimpMethod<Args extends any[] = any[], ReturnType = any, J extends JimpClass = JimpClass> = (img: J, ...args: Args) => ReturnType;
|
|
33
|
-
export interface JimpPlugin {
|
|
34
|
-
[key: string]: JimpChainableMethod | JimpMethod;
|
|
35
|
-
}
|
|
36
|
-
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
37
|
-
type Constructor<T> = new (...args: any[]) => T;
|
|
38
|
-
type JimpFormat<MimeType extends string = string, EncodeOptions extends Record<string, any> | undefined = undefined, DecodeOptions extends Record<string, any> | undefined = undefined, T extends Format<MimeType, EncodeOptions, DecodeOptions> = Format<MimeType, EncodeOptions, DecodeOptions>> = () => T;
|
|
39
|
-
type CreateMimeTypeToExportOptions<T extends Format<string, any>> = T extends Format<infer M, infer O> ? Record<M, O> : never;
|
|
40
|
-
type CreateMimeTypeToDecodeOptions<T extends Format<string, any>> = T extends Format<infer M, any, infer O> ? Record<M, O> : never;
|
|
41
|
-
type GetOptionsForMimeType<Mime extends string, MimeTypeMap> = MimeTypeMap extends Record<Mime, infer O> ? O : never;
|
|
42
|
-
type MimeToExtension<M extends string> = `${string}/${M}`;
|
|
43
|
-
type CreateExtensionToMimeType<M extends string> = M extends MimeToExtension<infer E> ? Record<E, M> : never;
|
|
44
|
-
type GetMimeTypeForExtension<Mime extends string, MimeTypeMap> = MimeTypeMap extends Record<Mime, infer M> ? M : never;
|
|
45
|
-
/**
|
|
46
|
-
* Create a Jimp class that support the given image formats and methods
|
|
47
|
-
*/
|
|
48
|
-
export declare function createJimp<Methods extends JimpPlugin[], Formats extends JimpFormat[]>({ plugins: pluginsArg, formats: formatsArg, }?: {
|
|
49
|
-
/** Plugins that add methods to the created Jimp class */
|
|
50
|
-
plugins?: Methods;
|
|
51
|
-
/** Image formats the Jimp class should support */
|
|
52
|
-
formats?: Formats;
|
|
53
|
-
}): {
|
|
54
|
-
new (options?: JimpConstructorOptions): {
|
|
55
|
-
/**
|
|
56
|
-
* The bitmap data of the image
|
|
57
|
-
*/
|
|
58
|
-
bitmap: Bitmap;
|
|
59
|
-
/** Default color to use for new pixels */
|
|
60
|
-
background: number;
|
|
61
|
-
/** Formats that can be used with Jimp */
|
|
62
|
-
formats: Format<any>[];
|
|
63
|
-
/** The original MIME type of the image */
|
|
64
|
-
mime?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
67
|
-
* @returns Pretty printed jimp object
|
|
68
|
-
* @example
|
|
69
|
-
* ```ts
|
|
70
|
-
* import { Jimp } from "jimp";
|
|
71
|
-
*
|
|
72
|
-
* const image = await Jimp.read("test/image.png");
|
|
73
|
-
*
|
|
74
|
-
* console.log(image);
|
|
75
|
-
* ```
|
|
76
|
-
*/
|
|
77
|
-
inspect(): string;
|
|
78
|
-
/**
|
|
79
|
-
* Nicely format Jimp object when converted to a string
|
|
80
|
-
* @returns pretty printed
|
|
81
|
-
*/
|
|
82
|
-
toString(): string;
|
|
83
|
-
/** Get the width of the image */
|
|
84
|
-
readonly width: number;
|
|
85
|
-
/** Get the height of the image */
|
|
86
|
-
readonly height: number;
|
|
87
|
-
/**
|
|
88
|
-
* Converts the Jimp instance to an image buffer
|
|
89
|
-
* @param mime The mime type to export to
|
|
90
|
-
* @param options The options to use when exporting
|
|
91
|
-
* @example
|
|
92
|
-
* ```ts
|
|
93
|
-
* import { Jimp } from "jimp";
|
|
94
|
-
* import { promises as fs } from "fs";
|
|
95
|
-
*
|
|
96
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
97
|
-
*
|
|
98
|
-
* await image.getBuffer("image/jpeg", {
|
|
99
|
-
* quality: 50,
|
|
100
|
-
* });
|
|
101
|
-
* ```
|
|
102
|
-
*/
|
|
103
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
104
|
-
/**
|
|
105
|
-
* Converts the image to a base 64 string
|
|
106
|
-
*
|
|
107
|
-
* @param mime The mime type to export to
|
|
108
|
-
* @param options The options to use when exporting
|
|
109
|
-
* @example
|
|
110
|
-
* ```ts
|
|
111
|
-
* import { Jimp } from "jimp";
|
|
112
|
-
*
|
|
113
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
114
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
115
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
116
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
117
|
-
* ]));
|
|
118
|
-
*
|
|
119
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
120
|
-
* quality: 50,
|
|
121
|
-
* });
|
|
122
|
-
* ```
|
|
123
|
-
*/
|
|
124
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
125
|
-
/**
|
|
126
|
-
* Write the image to a file
|
|
127
|
-
* @param path the path to write the image to
|
|
128
|
-
* @param options the options to use when writing the image
|
|
129
|
-
* @example
|
|
130
|
-
* ```ts
|
|
131
|
-
* import { Jimp } from "jimp";
|
|
132
|
-
*
|
|
133
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
134
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
135
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
136
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
137
|
-
* ]));
|
|
138
|
-
*
|
|
139
|
-
* await image.write("test/output.png");
|
|
140
|
-
* ```
|
|
141
|
-
*/
|
|
142
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
143
|
-
/**
|
|
144
|
-
* Clone the image into a new Jimp instance.
|
|
145
|
-
* @param this
|
|
146
|
-
* @returns A new Jimp instance
|
|
147
|
-
* @example
|
|
148
|
-
* ```ts
|
|
149
|
-
* import { Jimp } from "jimp";
|
|
150
|
-
*
|
|
151
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
152
|
-
*
|
|
153
|
-
* const clone = image.clone();
|
|
154
|
-
* ```
|
|
155
|
-
*/
|
|
156
|
-
clone<S extends any>(this: S): S;
|
|
157
|
-
/**
|
|
158
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
159
|
-
* @param x the x coordinate
|
|
160
|
-
* @param y the y coordinate
|
|
161
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
162
|
-
* @returns the index of the pixel or -1 if not found
|
|
163
|
-
* @example
|
|
164
|
-
* ```ts
|
|
165
|
-
* import { Jimp } from "jimp";
|
|
166
|
-
*
|
|
167
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
168
|
-
*
|
|
169
|
-
* image.getPixelIndex(1, 1); // 2
|
|
170
|
-
* ```
|
|
171
|
-
*/
|
|
172
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
173
|
-
/**
|
|
174
|
-
* Returns the hex color value of a pixel
|
|
175
|
-
* @param x the x coordinate
|
|
176
|
-
* @param y the y coordinate
|
|
177
|
-
* @returns the color of the pixel
|
|
178
|
-
* @example
|
|
179
|
-
* ```ts
|
|
180
|
-
* import { Jimp } from "jimp";
|
|
181
|
-
*
|
|
182
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
183
|
-
*
|
|
184
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
185
|
-
* ```
|
|
186
|
-
*/
|
|
187
|
-
getPixelColor(x: number, y: number): number;
|
|
188
|
-
/**
|
|
189
|
-
* Sets the hex colour value of a pixel
|
|
190
|
-
*
|
|
191
|
-
* @param hex color to set
|
|
192
|
-
* @param x the x coordinate
|
|
193
|
-
* @param y the y coordinate
|
|
194
|
-
*
|
|
195
|
-
* @example
|
|
196
|
-
* ```ts
|
|
197
|
-
* import { Jimp } from "jimp";
|
|
198
|
-
*
|
|
199
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
200
|
-
*
|
|
201
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
202
|
-
* ```
|
|
203
|
-
*/
|
|
204
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
205
|
-
/**
|
|
206
|
-
* Determine if the image contains opaque pixels.
|
|
207
|
-
*
|
|
208
|
-
* @example
|
|
209
|
-
* ```ts
|
|
210
|
-
* import { Jimp } from "jimp";
|
|
211
|
-
*
|
|
212
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
213
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
214
|
-
*
|
|
215
|
-
* image.hasAlpha(); // false
|
|
216
|
-
* image2.hasAlpha(); // true
|
|
217
|
-
* ```
|
|
218
|
-
*/
|
|
219
|
-
hasAlpha(): boolean;
|
|
220
|
-
/**
|
|
221
|
-
* Composites a source image over to this image respecting alpha channels
|
|
222
|
-
* @param src the source Jimp instance
|
|
223
|
-
* @param x the x position to blit the image
|
|
224
|
-
* @param y the y position to blit the image
|
|
225
|
-
* @param options determine what mode to use
|
|
226
|
-
* @example
|
|
227
|
-
* ```ts
|
|
228
|
-
* import { Jimp } from "jimp";
|
|
229
|
-
*
|
|
230
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
231
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
232
|
-
*
|
|
233
|
-
* image.composite(image2, 3, 3);
|
|
234
|
-
* ```
|
|
235
|
-
*/
|
|
236
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
237
|
-
mode?: BlendMode;
|
|
238
|
-
opacitySource?: number;
|
|
239
|
-
opacityDest?: number;
|
|
240
|
-
}): any;
|
|
241
|
-
/**
|
|
242
|
-
* Scan through the image and call the callback for each pixel
|
|
243
|
-
*
|
|
244
|
-
* @example
|
|
245
|
-
* ```ts
|
|
246
|
-
* import { Jimp } from "jimp";
|
|
247
|
-
*
|
|
248
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
249
|
-
*
|
|
250
|
-
* image.scan((x, y, idx) => {
|
|
251
|
-
* // do something with the pixel
|
|
252
|
-
* });
|
|
253
|
-
*
|
|
254
|
-
* // Or scan through just a region
|
|
255
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
256
|
-
* // do something with the pixel
|
|
257
|
-
* });
|
|
258
|
-
* ```
|
|
259
|
-
*/
|
|
260
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
261
|
-
/**
|
|
262
|
-
* Scan through the image and call the callback for each pixel
|
|
263
|
-
*
|
|
264
|
-
* @example
|
|
265
|
-
* ```ts
|
|
266
|
-
* import { Jimp } from "jimp";
|
|
267
|
-
*
|
|
268
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
269
|
-
*
|
|
270
|
-
* image.scan((x, y, idx) => {
|
|
271
|
-
* // do something with the pixel
|
|
272
|
-
* });
|
|
273
|
-
*
|
|
274
|
-
* // Or scan through just a region
|
|
275
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
276
|
-
* // do something with the pixel
|
|
277
|
-
* });
|
|
278
|
-
* ```
|
|
279
|
-
*/
|
|
280
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
281
|
-
/**
|
|
282
|
-
* Iterate scan through a region of the bitmap
|
|
283
|
-
* @param x the x coordinate to begin the scan at
|
|
284
|
-
* @param y the y coordinate to begin the scan at
|
|
285
|
-
* @param w the width of the scan region
|
|
286
|
-
* @param h the height of the scan region
|
|
287
|
-
* @example
|
|
288
|
-
* ```ts
|
|
289
|
-
* import { Jimp } from "jimp";
|
|
290
|
-
*
|
|
291
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
292
|
-
*
|
|
293
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
294
|
-
* // do something with the pixel
|
|
295
|
-
* }
|
|
296
|
-
* ```
|
|
297
|
-
*/
|
|
298
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
299
|
-
x: number;
|
|
300
|
-
y: number;
|
|
301
|
-
idx: number;
|
|
302
|
-
image: any;
|
|
303
|
-
}, void, unknown>;
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* Create a Jimp instance from a URL, a file path, or a Buffer
|
|
307
|
-
* @example
|
|
308
|
-
* ```ts
|
|
309
|
-
* import { Jimp } from "jimp";
|
|
310
|
-
*
|
|
311
|
-
* // Read from a file path
|
|
312
|
-
* const image = await Jimp.read("test/image.png");
|
|
313
|
-
*
|
|
314
|
-
* // Read from a URL
|
|
315
|
-
* const image = await Jimp.read("https://upload.wikimedia.org/wikipedia/commons/0/01/Bot-Test.jpg");
|
|
316
|
-
* ```
|
|
317
|
-
*/
|
|
318
|
-
read(url: string | Buffer | ArrayBuffer, options?: CreateMimeTypeToDecodeOptions<ReturnType<Formats[number]>>): Promise<{
|
|
319
|
-
/**
|
|
320
|
-
* The bitmap data of the image
|
|
321
|
-
*/
|
|
322
|
-
bitmap: Bitmap;
|
|
323
|
-
/** Default color to use for new pixels */
|
|
324
|
-
background: number;
|
|
325
|
-
/** Formats that can be used with Jimp */
|
|
326
|
-
formats: Format<any>[];
|
|
327
|
-
/** The original MIME type of the image */
|
|
328
|
-
mime?: string;
|
|
329
|
-
/**
|
|
330
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
331
|
-
* @returns Pretty printed jimp object
|
|
332
|
-
* @example
|
|
333
|
-
* ```ts
|
|
334
|
-
* import { Jimp } from "jimp";
|
|
335
|
-
*
|
|
336
|
-
* const image = await Jimp.read("test/image.png");
|
|
337
|
-
*
|
|
338
|
-
* console.log(image);
|
|
339
|
-
* ```
|
|
340
|
-
*/
|
|
341
|
-
inspect(): string;
|
|
342
|
-
/**
|
|
343
|
-
* Nicely format Jimp object when converted to a string
|
|
344
|
-
* @returns pretty printed
|
|
345
|
-
*/
|
|
346
|
-
toString(): string;
|
|
347
|
-
/** Get the width of the image */
|
|
348
|
-
readonly width: number;
|
|
349
|
-
/** Get the height of the image */
|
|
350
|
-
readonly height: number;
|
|
351
|
-
/**
|
|
352
|
-
* Converts the Jimp instance to an image buffer
|
|
353
|
-
* @param mime The mime type to export to
|
|
354
|
-
* @param options The options to use when exporting
|
|
355
|
-
* @example
|
|
356
|
-
* ```ts
|
|
357
|
-
* import { Jimp } from "jimp";
|
|
358
|
-
* import { promises as fs } from "fs";
|
|
359
|
-
*
|
|
360
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
361
|
-
*
|
|
362
|
-
* await image.getBuffer("image/jpeg", {
|
|
363
|
-
* quality: 50,
|
|
364
|
-
* });
|
|
365
|
-
* ```
|
|
366
|
-
*/
|
|
367
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
368
|
-
/**
|
|
369
|
-
* Converts the image to a base 64 string
|
|
370
|
-
*
|
|
371
|
-
* @param mime The mime type to export to
|
|
372
|
-
* @param options The options to use when exporting
|
|
373
|
-
* @example
|
|
374
|
-
* ```ts
|
|
375
|
-
* import { Jimp } from "jimp";
|
|
376
|
-
*
|
|
377
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
378
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
379
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
380
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
381
|
-
* ]));
|
|
382
|
-
*
|
|
383
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
384
|
-
* quality: 50,
|
|
385
|
-
* });
|
|
386
|
-
* ```
|
|
387
|
-
*/
|
|
388
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
389
|
-
/**
|
|
390
|
-
* Write the image to a file
|
|
391
|
-
* @param path the path to write the image to
|
|
392
|
-
* @param options the options to use when writing the image
|
|
393
|
-
* @example
|
|
394
|
-
* ```ts
|
|
395
|
-
* import { Jimp } from "jimp";
|
|
396
|
-
*
|
|
397
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
398
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
399
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
400
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
401
|
-
* ]));
|
|
402
|
-
*
|
|
403
|
-
* await image.write("test/output.png");
|
|
404
|
-
* ```
|
|
405
|
-
*/
|
|
406
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
407
|
-
/**
|
|
408
|
-
* Clone the image into a new Jimp instance.
|
|
409
|
-
* @param this
|
|
410
|
-
* @returns A new Jimp instance
|
|
411
|
-
* @example
|
|
412
|
-
* ```ts
|
|
413
|
-
* import { Jimp } from "jimp";
|
|
414
|
-
*
|
|
415
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
416
|
-
*
|
|
417
|
-
* const clone = image.clone();
|
|
418
|
-
* ```
|
|
419
|
-
*/
|
|
420
|
-
clone<S extends any>(this: S): S;
|
|
421
|
-
/**
|
|
422
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
423
|
-
* @param x the x coordinate
|
|
424
|
-
* @param y the y coordinate
|
|
425
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
426
|
-
* @returns the index of the pixel or -1 if not found
|
|
427
|
-
* @example
|
|
428
|
-
* ```ts
|
|
429
|
-
* import { Jimp } from "jimp";
|
|
430
|
-
*
|
|
431
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
432
|
-
*
|
|
433
|
-
* image.getPixelIndex(1, 1); // 2
|
|
434
|
-
* ```
|
|
435
|
-
*/
|
|
436
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
437
|
-
/**
|
|
438
|
-
* Returns the hex color value of a pixel
|
|
439
|
-
* @param x the x coordinate
|
|
440
|
-
* @param y the y coordinate
|
|
441
|
-
* @returns the color of the pixel
|
|
442
|
-
* @example
|
|
443
|
-
* ```ts
|
|
444
|
-
* import { Jimp } from "jimp";
|
|
445
|
-
*
|
|
446
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
447
|
-
*
|
|
448
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
449
|
-
* ```
|
|
450
|
-
*/
|
|
451
|
-
getPixelColor(x: number, y: number): number;
|
|
452
|
-
/**
|
|
453
|
-
* Sets the hex colour value of a pixel
|
|
454
|
-
*
|
|
455
|
-
* @param hex color to set
|
|
456
|
-
* @param x the x coordinate
|
|
457
|
-
* @param y the y coordinate
|
|
458
|
-
*
|
|
459
|
-
* @example
|
|
460
|
-
* ```ts
|
|
461
|
-
* import { Jimp } from "jimp";
|
|
462
|
-
*
|
|
463
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
464
|
-
*
|
|
465
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
466
|
-
* ```
|
|
467
|
-
*/
|
|
468
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
469
|
-
/**
|
|
470
|
-
* Determine if the image contains opaque pixels.
|
|
471
|
-
*
|
|
472
|
-
* @example
|
|
473
|
-
* ```ts
|
|
474
|
-
* import { Jimp } from "jimp";
|
|
475
|
-
*
|
|
476
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
477
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
478
|
-
*
|
|
479
|
-
* image.hasAlpha(); // false
|
|
480
|
-
* image2.hasAlpha(); // true
|
|
481
|
-
* ```
|
|
482
|
-
*/
|
|
483
|
-
hasAlpha(): boolean;
|
|
484
|
-
/**
|
|
485
|
-
* Composites a source image over to this image respecting alpha channels
|
|
486
|
-
* @param src the source Jimp instance
|
|
487
|
-
* @param x the x position to blit the image
|
|
488
|
-
* @param y the y position to blit the image
|
|
489
|
-
* @param options determine what mode to use
|
|
490
|
-
* @example
|
|
491
|
-
* ```ts
|
|
492
|
-
* import { Jimp } from "jimp";
|
|
493
|
-
*
|
|
494
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
495
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
496
|
-
*
|
|
497
|
-
* image.composite(image2, 3, 3);
|
|
498
|
-
* ```
|
|
499
|
-
*/
|
|
500
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
501
|
-
mode?: BlendMode;
|
|
502
|
-
opacitySource?: number;
|
|
503
|
-
opacityDest?: number;
|
|
504
|
-
}): any;
|
|
505
|
-
/**
|
|
506
|
-
* Scan through the image and call the callback for each pixel
|
|
507
|
-
*
|
|
508
|
-
* @example
|
|
509
|
-
* ```ts
|
|
510
|
-
* import { Jimp } from "jimp";
|
|
511
|
-
*
|
|
512
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
513
|
-
*
|
|
514
|
-
* image.scan((x, y, idx) => {
|
|
515
|
-
* // do something with the pixel
|
|
516
|
-
* });
|
|
517
|
-
*
|
|
518
|
-
* // Or scan through just a region
|
|
519
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
520
|
-
* // do something with the pixel
|
|
521
|
-
* });
|
|
522
|
-
* ```
|
|
523
|
-
*/
|
|
524
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
525
|
-
/**
|
|
526
|
-
* Scan through the image and call the callback for each pixel
|
|
527
|
-
*
|
|
528
|
-
* @example
|
|
529
|
-
* ```ts
|
|
530
|
-
* import { Jimp } from "jimp";
|
|
531
|
-
*
|
|
532
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
533
|
-
*
|
|
534
|
-
* image.scan((x, y, idx) => {
|
|
535
|
-
* // do something with the pixel
|
|
536
|
-
* });
|
|
537
|
-
*
|
|
538
|
-
* // Or scan through just a region
|
|
539
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
540
|
-
* // do something with the pixel
|
|
541
|
-
* });
|
|
542
|
-
* ```
|
|
543
|
-
*/
|
|
544
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
545
|
-
/**
|
|
546
|
-
* Iterate scan through a region of the bitmap
|
|
547
|
-
* @param x the x coordinate to begin the scan at
|
|
548
|
-
* @param y the y coordinate to begin the scan at
|
|
549
|
-
* @param w the width of the scan region
|
|
550
|
-
* @param h the height of the scan region
|
|
551
|
-
* @example
|
|
552
|
-
* ```ts
|
|
553
|
-
* import { Jimp } from "jimp";
|
|
554
|
-
*
|
|
555
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
556
|
-
*
|
|
557
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
558
|
-
* // do something with the pixel
|
|
559
|
-
* }
|
|
560
|
-
* ```
|
|
561
|
-
*/
|
|
562
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
563
|
-
x: number;
|
|
564
|
-
y: number;
|
|
565
|
-
idx: number;
|
|
566
|
-
image: any;
|
|
567
|
-
}, void, unknown>;
|
|
568
|
-
} & JimpInstanceMethods<{
|
|
569
|
-
/**
|
|
570
|
-
* The bitmap data of the image
|
|
571
|
-
*/
|
|
572
|
-
bitmap: Bitmap;
|
|
573
|
-
/** Default color to use for new pixels */
|
|
574
|
-
background: number;
|
|
575
|
-
/** Formats that can be used with Jimp */
|
|
576
|
-
formats: Format<any>[];
|
|
577
|
-
/** The original MIME type of the image */
|
|
578
|
-
mime?: string;
|
|
579
|
-
/**
|
|
580
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
581
|
-
* @returns Pretty printed jimp object
|
|
582
|
-
* @example
|
|
583
|
-
* ```ts
|
|
584
|
-
* import { Jimp } from "jimp";
|
|
585
|
-
*
|
|
586
|
-
* const image = await Jimp.read("test/image.png");
|
|
587
|
-
*
|
|
588
|
-
* console.log(image);
|
|
589
|
-
* ```
|
|
590
|
-
*/
|
|
591
|
-
inspect(): string;
|
|
592
|
-
/**
|
|
593
|
-
* Nicely format Jimp object when converted to a string
|
|
594
|
-
* @returns pretty printed
|
|
595
|
-
*/
|
|
596
|
-
toString(): string;
|
|
597
|
-
/** Get the width of the image */
|
|
598
|
-
readonly width: number;
|
|
599
|
-
/** Get the height of the image */
|
|
600
|
-
readonly height: number;
|
|
601
|
-
/**
|
|
602
|
-
* Converts the Jimp instance to an image buffer
|
|
603
|
-
* @param mime The mime type to export to
|
|
604
|
-
* @param options The options to use when exporting
|
|
605
|
-
* @example
|
|
606
|
-
* ```ts
|
|
607
|
-
* import { Jimp } from "jimp";
|
|
608
|
-
* import { promises as fs } from "fs";
|
|
609
|
-
*
|
|
610
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
611
|
-
*
|
|
612
|
-
* await image.getBuffer("image/jpeg", {
|
|
613
|
-
* quality: 50,
|
|
614
|
-
* });
|
|
615
|
-
* ```
|
|
616
|
-
*/
|
|
617
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
618
|
-
/**
|
|
619
|
-
* Converts the image to a base 64 string
|
|
620
|
-
*
|
|
621
|
-
* @param mime The mime type to export to
|
|
622
|
-
* @param options The options to use when exporting
|
|
623
|
-
* @example
|
|
624
|
-
* ```ts
|
|
625
|
-
* import { Jimp } from "jimp";
|
|
626
|
-
*
|
|
627
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
628
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
629
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
630
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
631
|
-
* ]));
|
|
632
|
-
*
|
|
633
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
634
|
-
* quality: 50,
|
|
635
|
-
* });
|
|
636
|
-
* ```
|
|
637
|
-
*/
|
|
638
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
639
|
-
/**
|
|
640
|
-
* Write the image to a file
|
|
641
|
-
* @param path the path to write the image to
|
|
642
|
-
* @param options the options to use when writing the image
|
|
643
|
-
* @example
|
|
644
|
-
* ```ts
|
|
645
|
-
* import { Jimp } from "jimp";
|
|
646
|
-
*
|
|
647
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
648
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
649
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
650
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
651
|
-
* ]));
|
|
652
|
-
*
|
|
653
|
-
* await image.write("test/output.png");
|
|
654
|
-
* ```
|
|
655
|
-
*/
|
|
656
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
657
|
-
/**
|
|
658
|
-
* Clone the image into a new Jimp instance.
|
|
659
|
-
* @param this
|
|
660
|
-
* @returns A new Jimp instance
|
|
661
|
-
* @example
|
|
662
|
-
* ```ts
|
|
663
|
-
* import { Jimp } from "jimp";
|
|
664
|
-
*
|
|
665
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
666
|
-
*
|
|
667
|
-
* const clone = image.clone();
|
|
668
|
-
* ```
|
|
669
|
-
*/
|
|
670
|
-
clone<S extends any>(this: S): S;
|
|
671
|
-
/**
|
|
672
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
673
|
-
* @param x the x coordinate
|
|
674
|
-
* @param y the y coordinate
|
|
675
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
676
|
-
* @returns the index of the pixel or -1 if not found
|
|
677
|
-
* @example
|
|
678
|
-
* ```ts
|
|
679
|
-
* import { Jimp } from "jimp";
|
|
680
|
-
*
|
|
681
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
682
|
-
*
|
|
683
|
-
* image.getPixelIndex(1, 1); // 2
|
|
684
|
-
* ```
|
|
685
|
-
*/
|
|
686
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
687
|
-
/**
|
|
688
|
-
* Returns the hex color value of a pixel
|
|
689
|
-
* @param x the x coordinate
|
|
690
|
-
* @param y the y coordinate
|
|
691
|
-
* @returns the color of the pixel
|
|
692
|
-
* @example
|
|
693
|
-
* ```ts
|
|
694
|
-
* import { Jimp } from "jimp";
|
|
695
|
-
*
|
|
696
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
697
|
-
*
|
|
698
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
699
|
-
* ```
|
|
700
|
-
*/
|
|
701
|
-
getPixelColor(x: number, y: number): number;
|
|
702
|
-
/**
|
|
703
|
-
* Sets the hex colour value of a pixel
|
|
704
|
-
*
|
|
705
|
-
* @param hex color to set
|
|
706
|
-
* @param x the x coordinate
|
|
707
|
-
* @param y the y coordinate
|
|
708
|
-
*
|
|
709
|
-
* @example
|
|
710
|
-
* ```ts
|
|
711
|
-
* import { Jimp } from "jimp";
|
|
712
|
-
*
|
|
713
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
714
|
-
*
|
|
715
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
716
|
-
* ```
|
|
717
|
-
*/
|
|
718
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
719
|
-
/**
|
|
720
|
-
* Determine if the image contains opaque pixels.
|
|
721
|
-
*
|
|
722
|
-
* @example
|
|
723
|
-
* ```ts
|
|
724
|
-
* import { Jimp } from "jimp";
|
|
725
|
-
*
|
|
726
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
727
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
728
|
-
*
|
|
729
|
-
* image.hasAlpha(); // false
|
|
730
|
-
* image2.hasAlpha(); // true
|
|
731
|
-
* ```
|
|
732
|
-
*/
|
|
733
|
-
hasAlpha(): boolean;
|
|
734
|
-
/**
|
|
735
|
-
* Composites a source image over to this image respecting alpha channels
|
|
736
|
-
* @param src the source Jimp instance
|
|
737
|
-
* @param x the x position to blit the image
|
|
738
|
-
* @param y the y position to blit the image
|
|
739
|
-
* @param options determine what mode to use
|
|
740
|
-
* @example
|
|
741
|
-
* ```ts
|
|
742
|
-
* import { Jimp } from "jimp";
|
|
743
|
-
*
|
|
744
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
745
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
746
|
-
*
|
|
747
|
-
* image.composite(image2, 3, 3);
|
|
748
|
-
* ```
|
|
749
|
-
*/
|
|
750
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
751
|
-
mode?: BlendMode;
|
|
752
|
-
opacitySource?: number;
|
|
753
|
-
opacityDest?: number;
|
|
754
|
-
}): any;
|
|
755
|
-
/**
|
|
756
|
-
* Scan through the image and call the callback for each pixel
|
|
757
|
-
*
|
|
758
|
-
* @example
|
|
759
|
-
* ```ts
|
|
760
|
-
* import { Jimp } from "jimp";
|
|
761
|
-
*
|
|
762
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
763
|
-
*
|
|
764
|
-
* image.scan((x, y, idx) => {
|
|
765
|
-
* // do something with the pixel
|
|
766
|
-
* });
|
|
767
|
-
*
|
|
768
|
-
* // Or scan through just a region
|
|
769
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
770
|
-
* // do something with the pixel
|
|
771
|
-
* });
|
|
772
|
-
* ```
|
|
773
|
-
*/
|
|
774
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
775
|
-
/**
|
|
776
|
-
* Scan through the image and call the callback for each pixel
|
|
777
|
-
*
|
|
778
|
-
* @example
|
|
779
|
-
* ```ts
|
|
780
|
-
* import { Jimp } from "jimp";
|
|
781
|
-
*
|
|
782
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
783
|
-
*
|
|
784
|
-
* image.scan((x, y, idx) => {
|
|
785
|
-
* // do something with the pixel
|
|
786
|
-
* });
|
|
787
|
-
*
|
|
788
|
-
* // Or scan through just a region
|
|
789
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
790
|
-
* // do something with the pixel
|
|
791
|
-
* });
|
|
792
|
-
* ```
|
|
793
|
-
*/
|
|
794
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
795
|
-
/**
|
|
796
|
-
* Iterate scan through a region of the bitmap
|
|
797
|
-
* @param x the x coordinate to begin the scan at
|
|
798
|
-
* @param y the y coordinate to begin the scan at
|
|
799
|
-
* @param w the width of the scan region
|
|
800
|
-
* @param h the height of the scan region
|
|
801
|
-
* @example
|
|
802
|
-
* ```ts
|
|
803
|
-
* import { Jimp } from "jimp";
|
|
804
|
-
*
|
|
805
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
806
|
-
*
|
|
807
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
808
|
-
* // do something with the pixel
|
|
809
|
-
* }
|
|
810
|
-
* ```
|
|
811
|
-
*/
|
|
812
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
813
|
-
x: number;
|
|
814
|
-
y: number;
|
|
815
|
-
idx: number;
|
|
816
|
-
image: any;
|
|
817
|
-
}, void, unknown>;
|
|
818
|
-
}, UnionToIntersection<Methods[number]>>>;
|
|
819
|
-
/**
|
|
820
|
-
* Create a Jimp instance from a bitmap.
|
|
821
|
-
* The difference between this and just using the constructor is that this will
|
|
822
|
-
* convert raw image data into the bitmap format that Jimp uses.
|
|
823
|
-
*
|
|
824
|
-
* @example
|
|
825
|
-
* ```ts
|
|
826
|
-
* import { Jimp } from "jimp";
|
|
827
|
-
*
|
|
828
|
-
* const image = Jimp.fromBitmap({
|
|
829
|
-
* data: Buffer.from([
|
|
830
|
-
* 0xffffffff, 0xffffffff, 0xffffffff,
|
|
831
|
-
* 0xffffffff, 0xffffffff, 0xffffffff,
|
|
832
|
-
* 0xffffffff, 0xffffffff, 0xffffffff,
|
|
833
|
-
* ]),
|
|
834
|
-
* width: 3,
|
|
835
|
-
* height: 3,
|
|
836
|
-
* });
|
|
837
|
-
* ```
|
|
838
|
-
*/
|
|
839
|
-
fromBitmap(bitmap: RawImageData): InstanceType<any> & JimpInstanceMethods<{
|
|
840
|
-
/**
|
|
841
|
-
* The bitmap data of the image
|
|
842
|
-
*/
|
|
843
|
-
bitmap: Bitmap;
|
|
844
|
-
/** Default color to use for new pixels */
|
|
845
|
-
background: number;
|
|
846
|
-
/** Formats that can be used with Jimp */
|
|
847
|
-
formats: Format<any>[];
|
|
848
|
-
/** The original MIME type of the image */
|
|
849
|
-
mime?: string;
|
|
850
|
-
/**
|
|
851
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
852
|
-
* @returns Pretty printed jimp object
|
|
853
|
-
* @example
|
|
854
|
-
* ```ts
|
|
855
|
-
* import { Jimp } from "jimp";
|
|
856
|
-
*
|
|
857
|
-
* const image = await Jimp.read("test/image.png");
|
|
858
|
-
*
|
|
859
|
-
* console.log(image);
|
|
860
|
-
* ```
|
|
861
|
-
*/
|
|
862
|
-
inspect(): string;
|
|
863
|
-
/**
|
|
864
|
-
* Nicely format Jimp object when converted to a string
|
|
865
|
-
* @returns pretty printed
|
|
866
|
-
*/
|
|
867
|
-
toString(): string;
|
|
868
|
-
/** Get the width of the image */
|
|
869
|
-
readonly width: number;
|
|
870
|
-
/** Get the height of the image */
|
|
871
|
-
readonly height: number;
|
|
872
|
-
/**
|
|
873
|
-
* Converts the Jimp instance to an image buffer
|
|
874
|
-
* @param mime The mime type to export to
|
|
875
|
-
* @param options The options to use when exporting
|
|
876
|
-
* @example
|
|
877
|
-
* ```ts
|
|
878
|
-
* import { Jimp } from "jimp";
|
|
879
|
-
* import { promises as fs } from "fs";
|
|
880
|
-
*
|
|
881
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
882
|
-
*
|
|
883
|
-
* await image.getBuffer("image/jpeg", {
|
|
884
|
-
* quality: 50,
|
|
885
|
-
* });
|
|
886
|
-
* ```
|
|
887
|
-
*/
|
|
888
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
889
|
-
/**
|
|
890
|
-
* Converts the image to a base 64 string
|
|
891
|
-
*
|
|
892
|
-
* @param mime The mime type to export to
|
|
893
|
-
* @param options The options to use when exporting
|
|
894
|
-
* @example
|
|
895
|
-
* ```ts
|
|
896
|
-
* import { Jimp } from "jimp";
|
|
897
|
-
*
|
|
898
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
899
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
900
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
901
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
902
|
-
* ]));
|
|
903
|
-
*
|
|
904
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
905
|
-
* quality: 50,
|
|
906
|
-
* });
|
|
907
|
-
* ```
|
|
908
|
-
*/
|
|
909
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
910
|
-
/**
|
|
911
|
-
* Write the image to a file
|
|
912
|
-
* @param path the path to write the image to
|
|
913
|
-
* @param options the options to use when writing the image
|
|
914
|
-
* @example
|
|
915
|
-
* ```ts
|
|
916
|
-
* import { Jimp } from "jimp";
|
|
917
|
-
*
|
|
918
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
919
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
920
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
921
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
922
|
-
* ]));
|
|
923
|
-
*
|
|
924
|
-
* await image.write("test/output.png");
|
|
925
|
-
* ```
|
|
926
|
-
*/
|
|
927
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
928
|
-
/**
|
|
929
|
-
* Clone the image into a new Jimp instance.
|
|
930
|
-
* @param this
|
|
931
|
-
* @returns A new Jimp instance
|
|
932
|
-
* @example
|
|
933
|
-
* ```ts
|
|
934
|
-
* import { Jimp } from "jimp";
|
|
935
|
-
*
|
|
936
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
937
|
-
*
|
|
938
|
-
* const clone = image.clone();
|
|
939
|
-
* ```
|
|
940
|
-
*/
|
|
941
|
-
clone<S extends any>(this: S): S;
|
|
942
|
-
/**
|
|
943
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
944
|
-
* @param x the x coordinate
|
|
945
|
-
* @param y the y coordinate
|
|
946
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
947
|
-
* @returns the index of the pixel or -1 if not found
|
|
948
|
-
* @example
|
|
949
|
-
* ```ts
|
|
950
|
-
* import { Jimp } from "jimp";
|
|
951
|
-
*
|
|
952
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
953
|
-
*
|
|
954
|
-
* image.getPixelIndex(1, 1); // 2
|
|
955
|
-
* ```
|
|
956
|
-
*/
|
|
957
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
958
|
-
/**
|
|
959
|
-
* Returns the hex color value of a pixel
|
|
960
|
-
* @param x the x coordinate
|
|
961
|
-
* @param y the y coordinate
|
|
962
|
-
* @returns the color of the pixel
|
|
963
|
-
* @example
|
|
964
|
-
* ```ts
|
|
965
|
-
* import { Jimp } from "jimp";
|
|
966
|
-
*
|
|
967
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
968
|
-
*
|
|
969
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
970
|
-
* ```
|
|
971
|
-
*/
|
|
972
|
-
getPixelColor(x: number, y: number): number;
|
|
973
|
-
/**
|
|
974
|
-
* Sets the hex colour value of a pixel
|
|
975
|
-
*
|
|
976
|
-
* @param hex color to set
|
|
977
|
-
* @param x the x coordinate
|
|
978
|
-
* @param y the y coordinate
|
|
979
|
-
*
|
|
980
|
-
* @example
|
|
981
|
-
* ```ts
|
|
982
|
-
* import { Jimp } from "jimp";
|
|
983
|
-
*
|
|
984
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
985
|
-
*
|
|
986
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
987
|
-
* ```
|
|
988
|
-
*/
|
|
989
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
990
|
-
/**
|
|
991
|
-
* Determine if the image contains opaque pixels.
|
|
992
|
-
*
|
|
993
|
-
* @example
|
|
994
|
-
* ```ts
|
|
995
|
-
* import { Jimp } from "jimp";
|
|
996
|
-
*
|
|
997
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
998
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
999
|
-
*
|
|
1000
|
-
* image.hasAlpha(); // false
|
|
1001
|
-
* image2.hasAlpha(); // true
|
|
1002
|
-
* ```
|
|
1003
|
-
*/
|
|
1004
|
-
hasAlpha(): boolean;
|
|
1005
|
-
/**
|
|
1006
|
-
* Composites a source image over to this image respecting alpha channels
|
|
1007
|
-
* @param src the source Jimp instance
|
|
1008
|
-
* @param x the x position to blit the image
|
|
1009
|
-
* @param y the y position to blit the image
|
|
1010
|
-
* @param options determine what mode to use
|
|
1011
|
-
* @example
|
|
1012
|
-
* ```ts
|
|
1013
|
-
* import { Jimp } from "jimp";
|
|
1014
|
-
*
|
|
1015
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
1016
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1017
|
-
*
|
|
1018
|
-
* image.composite(image2, 3, 3);
|
|
1019
|
-
* ```
|
|
1020
|
-
*/
|
|
1021
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
1022
|
-
mode?: BlendMode;
|
|
1023
|
-
opacitySource?: number;
|
|
1024
|
-
opacityDest?: number;
|
|
1025
|
-
}): any;
|
|
1026
|
-
/**
|
|
1027
|
-
* Scan through the image and call the callback for each pixel
|
|
1028
|
-
*
|
|
1029
|
-
* @example
|
|
1030
|
-
* ```ts
|
|
1031
|
-
* import { Jimp } from "jimp";
|
|
1032
|
-
*
|
|
1033
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1034
|
-
*
|
|
1035
|
-
* image.scan((x, y, idx) => {
|
|
1036
|
-
* // do something with the pixel
|
|
1037
|
-
* });
|
|
1038
|
-
*
|
|
1039
|
-
* // Or scan through just a region
|
|
1040
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1041
|
-
* // do something with the pixel
|
|
1042
|
-
* });
|
|
1043
|
-
* ```
|
|
1044
|
-
*/
|
|
1045
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
1046
|
-
/**
|
|
1047
|
-
* Scan through the image and call the callback for each pixel
|
|
1048
|
-
*
|
|
1049
|
-
* @example
|
|
1050
|
-
* ```ts
|
|
1051
|
-
* import { Jimp } from "jimp";
|
|
1052
|
-
*
|
|
1053
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1054
|
-
*
|
|
1055
|
-
* image.scan((x, y, idx) => {
|
|
1056
|
-
* // do something with the pixel
|
|
1057
|
-
* });
|
|
1058
|
-
*
|
|
1059
|
-
* // Or scan through just a region
|
|
1060
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1061
|
-
* // do something with the pixel
|
|
1062
|
-
* });
|
|
1063
|
-
* ```
|
|
1064
|
-
*/
|
|
1065
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
1066
|
-
/**
|
|
1067
|
-
* Iterate scan through a region of the bitmap
|
|
1068
|
-
* @param x the x coordinate to begin the scan at
|
|
1069
|
-
* @param y the y coordinate to begin the scan at
|
|
1070
|
-
* @param w the width of the scan region
|
|
1071
|
-
* @param h the height of the scan region
|
|
1072
|
-
* @example
|
|
1073
|
-
* ```ts
|
|
1074
|
-
* import { Jimp } from "jimp";
|
|
1075
|
-
*
|
|
1076
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1077
|
-
*
|
|
1078
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
1079
|
-
* // do something with the pixel
|
|
1080
|
-
* }
|
|
1081
|
-
* ```
|
|
1082
|
-
*/
|
|
1083
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
1084
|
-
x: number;
|
|
1085
|
-
y: number;
|
|
1086
|
-
idx: number;
|
|
1087
|
-
image: any;
|
|
1088
|
-
}, void, unknown>;
|
|
1089
|
-
}, UnionToIntersection<Methods[number]>>;
|
|
1090
|
-
/**
|
|
1091
|
-
* Parse a bitmap with the loaded image types.
|
|
1092
|
-
*
|
|
1093
|
-
* @param buffer Raw image data
|
|
1094
|
-
* @example
|
|
1095
|
-
* ```ts
|
|
1096
|
-
* import { Jimp } from "jimp";
|
|
1097
|
-
*
|
|
1098
|
-
* const buffer = await fs.readFile("test/image.png");
|
|
1099
|
-
* const image = await Jimp.fromBuffer(buffer);
|
|
1100
|
-
* ```
|
|
1101
|
-
*/
|
|
1102
|
-
fromBuffer(buffer: Buffer | ArrayBuffer, options?: CreateMimeTypeToDecodeOptions<ReturnType<Formats[number]>>): Promise<{
|
|
1103
|
-
/**
|
|
1104
|
-
* The bitmap data of the image
|
|
1105
|
-
*/
|
|
1106
|
-
bitmap: Bitmap;
|
|
1107
|
-
/** Default color to use for new pixels */
|
|
1108
|
-
background: number;
|
|
1109
|
-
/** Formats that can be used with Jimp */
|
|
1110
|
-
formats: Format<any>[];
|
|
1111
|
-
/** The original MIME type of the image */
|
|
1112
|
-
mime?: string;
|
|
1113
|
-
/**
|
|
1114
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
1115
|
-
* @returns Pretty printed jimp object
|
|
1116
|
-
* @example
|
|
1117
|
-
* ```ts
|
|
1118
|
-
* import { Jimp } from "jimp";
|
|
1119
|
-
*
|
|
1120
|
-
* const image = await Jimp.read("test/image.png");
|
|
1121
|
-
*
|
|
1122
|
-
* console.log(image);
|
|
1123
|
-
* ```
|
|
1124
|
-
*/
|
|
1125
|
-
inspect(): string;
|
|
1126
|
-
/**
|
|
1127
|
-
* Nicely format Jimp object when converted to a string
|
|
1128
|
-
* @returns pretty printed
|
|
1129
|
-
*/
|
|
1130
|
-
toString(): string;
|
|
1131
|
-
/** Get the width of the image */
|
|
1132
|
-
readonly width: number;
|
|
1133
|
-
/** Get the height of the image */
|
|
1134
|
-
readonly height: number;
|
|
1135
|
-
/**
|
|
1136
|
-
* Converts the Jimp instance to an image buffer
|
|
1137
|
-
* @param mime The mime type to export to
|
|
1138
|
-
* @param options The options to use when exporting
|
|
1139
|
-
* @example
|
|
1140
|
-
* ```ts
|
|
1141
|
-
* import { Jimp } from "jimp";
|
|
1142
|
-
* import { promises as fs } from "fs";
|
|
1143
|
-
*
|
|
1144
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1145
|
-
*
|
|
1146
|
-
* await image.getBuffer("image/jpeg", {
|
|
1147
|
-
* quality: 50,
|
|
1148
|
-
* });
|
|
1149
|
-
* ```
|
|
1150
|
-
*/
|
|
1151
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
1152
|
-
/**
|
|
1153
|
-
* Converts the image to a base 64 string
|
|
1154
|
-
*
|
|
1155
|
-
* @param mime The mime type to export to
|
|
1156
|
-
* @param options The options to use when exporting
|
|
1157
|
-
* @example
|
|
1158
|
-
* ```ts
|
|
1159
|
-
* import { Jimp } from "jimp";
|
|
1160
|
-
*
|
|
1161
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
1162
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1163
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1164
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1165
|
-
* ]));
|
|
1166
|
-
*
|
|
1167
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
1168
|
-
* quality: 50,
|
|
1169
|
-
* });
|
|
1170
|
-
* ```
|
|
1171
|
-
*/
|
|
1172
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
1173
|
-
/**
|
|
1174
|
-
* Write the image to a file
|
|
1175
|
-
* @param path the path to write the image to
|
|
1176
|
-
* @param options the options to use when writing the image
|
|
1177
|
-
* @example
|
|
1178
|
-
* ```ts
|
|
1179
|
-
* import { Jimp } from "jimp";
|
|
1180
|
-
*
|
|
1181
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
1182
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1183
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1184
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1185
|
-
* ]));
|
|
1186
|
-
*
|
|
1187
|
-
* await image.write("test/output.png");
|
|
1188
|
-
* ```
|
|
1189
|
-
*/
|
|
1190
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
1191
|
-
/**
|
|
1192
|
-
* Clone the image into a new Jimp instance.
|
|
1193
|
-
* @param this
|
|
1194
|
-
* @returns A new Jimp instance
|
|
1195
|
-
* @example
|
|
1196
|
-
* ```ts
|
|
1197
|
-
* import { Jimp } from "jimp";
|
|
1198
|
-
*
|
|
1199
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1200
|
-
*
|
|
1201
|
-
* const clone = image.clone();
|
|
1202
|
-
* ```
|
|
1203
|
-
*/
|
|
1204
|
-
clone<S extends any>(this: S): S;
|
|
1205
|
-
/**
|
|
1206
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
1207
|
-
* @param x the x coordinate
|
|
1208
|
-
* @param y the y coordinate
|
|
1209
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
1210
|
-
* @returns the index of the pixel or -1 if not found
|
|
1211
|
-
* @example
|
|
1212
|
-
* ```ts
|
|
1213
|
-
* import { Jimp } from "jimp";
|
|
1214
|
-
*
|
|
1215
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1216
|
-
*
|
|
1217
|
-
* image.getPixelIndex(1, 1); // 2
|
|
1218
|
-
* ```
|
|
1219
|
-
*/
|
|
1220
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
1221
|
-
/**
|
|
1222
|
-
* Returns the hex color value of a pixel
|
|
1223
|
-
* @param x the x coordinate
|
|
1224
|
-
* @param y the y coordinate
|
|
1225
|
-
* @returns the color of the pixel
|
|
1226
|
-
* @example
|
|
1227
|
-
* ```ts
|
|
1228
|
-
* import { Jimp } from "jimp";
|
|
1229
|
-
*
|
|
1230
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1231
|
-
*
|
|
1232
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
1233
|
-
* ```
|
|
1234
|
-
*/
|
|
1235
|
-
getPixelColor(x: number, y: number): number;
|
|
1236
|
-
/**
|
|
1237
|
-
* Sets the hex colour value of a pixel
|
|
1238
|
-
*
|
|
1239
|
-
* @param hex color to set
|
|
1240
|
-
* @param x the x coordinate
|
|
1241
|
-
* @param y the y coordinate
|
|
1242
|
-
*
|
|
1243
|
-
* @example
|
|
1244
|
-
* ```ts
|
|
1245
|
-
* import { Jimp } from "jimp";
|
|
1246
|
-
*
|
|
1247
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1248
|
-
*
|
|
1249
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
1250
|
-
* ```
|
|
1251
|
-
*/
|
|
1252
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
1253
|
-
/**
|
|
1254
|
-
* Determine if the image contains opaque pixels.
|
|
1255
|
-
*
|
|
1256
|
-
* @example
|
|
1257
|
-
* ```ts
|
|
1258
|
-
* import { Jimp } from "jimp";
|
|
1259
|
-
*
|
|
1260
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
1261
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1262
|
-
*
|
|
1263
|
-
* image.hasAlpha(); // false
|
|
1264
|
-
* image2.hasAlpha(); // true
|
|
1265
|
-
* ```
|
|
1266
|
-
*/
|
|
1267
|
-
hasAlpha(): boolean;
|
|
1268
|
-
/**
|
|
1269
|
-
* Composites a source image over to this image respecting alpha channels
|
|
1270
|
-
* @param src the source Jimp instance
|
|
1271
|
-
* @param x the x position to blit the image
|
|
1272
|
-
* @param y the y position to blit the image
|
|
1273
|
-
* @param options determine what mode to use
|
|
1274
|
-
* @example
|
|
1275
|
-
* ```ts
|
|
1276
|
-
* import { Jimp } from "jimp";
|
|
1277
|
-
*
|
|
1278
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
1279
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1280
|
-
*
|
|
1281
|
-
* image.composite(image2, 3, 3);
|
|
1282
|
-
* ```
|
|
1283
|
-
*/
|
|
1284
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
1285
|
-
mode?: BlendMode;
|
|
1286
|
-
opacitySource?: number;
|
|
1287
|
-
opacityDest?: number;
|
|
1288
|
-
}): any;
|
|
1289
|
-
/**
|
|
1290
|
-
* Scan through the image and call the callback for each pixel
|
|
1291
|
-
*
|
|
1292
|
-
* @example
|
|
1293
|
-
* ```ts
|
|
1294
|
-
* import { Jimp } from "jimp";
|
|
1295
|
-
*
|
|
1296
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1297
|
-
*
|
|
1298
|
-
* image.scan((x, y, idx) => {
|
|
1299
|
-
* // do something with the pixel
|
|
1300
|
-
* });
|
|
1301
|
-
*
|
|
1302
|
-
* // Or scan through just a region
|
|
1303
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1304
|
-
* // do something with the pixel
|
|
1305
|
-
* });
|
|
1306
|
-
* ```
|
|
1307
|
-
*/
|
|
1308
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
1309
|
-
/**
|
|
1310
|
-
* Scan through the image and call the callback for each pixel
|
|
1311
|
-
*
|
|
1312
|
-
* @example
|
|
1313
|
-
* ```ts
|
|
1314
|
-
* import { Jimp } from "jimp";
|
|
1315
|
-
*
|
|
1316
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1317
|
-
*
|
|
1318
|
-
* image.scan((x, y, idx) => {
|
|
1319
|
-
* // do something with the pixel
|
|
1320
|
-
* });
|
|
1321
|
-
*
|
|
1322
|
-
* // Or scan through just a region
|
|
1323
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1324
|
-
* // do something with the pixel
|
|
1325
|
-
* });
|
|
1326
|
-
* ```
|
|
1327
|
-
*/
|
|
1328
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
1329
|
-
/**
|
|
1330
|
-
* Iterate scan through a region of the bitmap
|
|
1331
|
-
* @param x the x coordinate to begin the scan at
|
|
1332
|
-
* @param y the y coordinate to begin the scan at
|
|
1333
|
-
* @param w the width of the scan region
|
|
1334
|
-
* @param h the height of the scan region
|
|
1335
|
-
* @example
|
|
1336
|
-
* ```ts
|
|
1337
|
-
* import { Jimp } from "jimp";
|
|
1338
|
-
*
|
|
1339
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1340
|
-
*
|
|
1341
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
1342
|
-
* // do something with the pixel
|
|
1343
|
-
* }
|
|
1344
|
-
* ```
|
|
1345
|
-
*/
|
|
1346
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
1347
|
-
x: number;
|
|
1348
|
-
y: number;
|
|
1349
|
-
idx: number;
|
|
1350
|
-
image: any;
|
|
1351
|
-
}, void, unknown>;
|
|
1352
|
-
} & JimpInstanceMethods<{
|
|
1353
|
-
/**
|
|
1354
|
-
* The bitmap data of the image
|
|
1355
|
-
*/
|
|
1356
|
-
bitmap: Bitmap;
|
|
1357
|
-
/** Default color to use for new pixels */
|
|
1358
|
-
background: number;
|
|
1359
|
-
/** Formats that can be used with Jimp */
|
|
1360
|
-
formats: Format<any>[];
|
|
1361
|
-
/** The original MIME type of the image */
|
|
1362
|
-
mime?: string;
|
|
1363
|
-
/**
|
|
1364
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
1365
|
-
* @returns Pretty printed jimp object
|
|
1366
|
-
* @example
|
|
1367
|
-
* ```ts
|
|
1368
|
-
* import { Jimp } from "jimp";
|
|
1369
|
-
*
|
|
1370
|
-
* const image = await Jimp.read("test/image.png");
|
|
1371
|
-
*
|
|
1372
|
-
* console.log(image);
|
|
1373
|
-
* ```
|
|
1374
|
-
*/
|
|
1375
|
-
inspect(): string;
|
|
1376
|
-
/**
|
|
1377
|
-
* Nicely format Jimp object when converted to a string
|
|
1378
|
-
* @returns pretty printed
|
|
1379
|
-
*/
|
|
1380
|
-
toString(): string;
|
|
1381
|
-
/** Get the width of the image */
|
|
1382
|
-
readonly width: number;
|
|
1383
|
-
/** Get the height of the image */
|
|
1384
|
-
readonly height: number;
|
|
1385
|
-
/**
|
|
1386
|
-
* Converts the Jimp instance to an image buffer
|
|
1387
|
-
* @param mime The mime type to export to
|
|
1388
|
-
* @param options The options to use when exporting
|
|
1389
|
-
* @example
|
|
1390
|
-
* ```ts
|
|
1391
|
-
* import { Jimp } from "jimp";
|
|
1392
|
-
* import { promises as fs } from "fs";
|
|
1393
|
-
*
|
|
1394
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1395
|
-
*
|
|
1396
|
-
* await image.getBuffer("image/jpeg", {
|
|
1397
|
-
* quality: 50,
|
|
1398
|
-
* });
|
|
1399
|
-
* ```
|
|
1400
|
-
*/
|
|
1401
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
1402
|
-
/**
|
|
1403
|
-
* Converts the image to a base 64 string
|
|
1404
|
-
*
|
|
1405
|
-
* @param mime The mime type to export to
|
|
1406
|
-
* @param options The options to use when exporting
|
|
1407
|
-
* @example
|
|
1408
|
-
* ```ts
|
|
1409
|
-
* import { Jimp } from "jimp";
|
|
1410
|
-
*
|
|
1411
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
1412
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1413
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1414
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1415
|
-
* ]));
|
|
1416
|
-
*
|
|
1417
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
1418
|
-
* quality: 50,
|
|
1419
|
-
* });
|
|
1420
|
-
* ```
|
|
1421
|
-
*/
|
|
1422
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
1423
|
-
/**
|
|
1424
|
-
* Write the image to a file
|
|
1425
|
-
* @param path the path to write the image to
|
|
1426
|
-
* @param options the options to use when writing the image
|
|
1427
|
-
* @example
|
|
1428
|
-
* ```ts
|
|
1429
|
-
* import { Jimp } from "jimp";
|
|
1430
|
-
*
|
|
1431
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
1432
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1433
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1434
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1435
|
-
* ]));
|
|
1436
|
-
*
|
|
1437
|
-
* await image.write("test/output.png");
|
|
1438
|
-
* ```
|
|
1439
|
-
*/
|
|
1440
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
1441
|
-
/**
|
|
1442
|
-
* Clone the image into a new Jimp instance.
|
|
1443
|
-
* @param this
|
|
1444
|
-
* @returns A new Jimp instance
|
|
1445
|
-
* @example
|
|
1446
|
-
* ```ts
|
|
1447
|
-
* import { Jimp } from "jimp";
|
|
1448
|
-
*
|
|
1449
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1450
|
-
*
|
|
1451
|
-
* const clone = image.clone();
|
|
1452
|
-
* ```
|
|
1453
|
-
*/
|
|
1454
|
-
clone<S extends any>(this: S): S;
|
|
1455
|
-
/**
|
|
1456
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
1457
|
-
* @param x the x coordinate
|
|
1458
|
-
* @param y the y coordinate
|
|
1459
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
1460
|
-
* @returns the index of the pixel or -1 if not found
|
|
1461
|
-
* @example
|
|
1462
|
-
* ```ts
|
|
1463
|
-
* import { Jimp } from "jimp";
|
|
1464
|
-
*
|
|
1465
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1466
|
-
*
|
|
1467
|
-
* image.getPixelIndex(1, 1); // 2
|
|
1468
|
-
* ```
|
|
1469
|
-
*/
|
|
1470
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
1471
|
-
/**
|
|
1472
|
-
* Returns the hex color value of a pixel
|
|
1473
|
-
* @param x the x coordinate
|
|
1474
|
-
* @param y the y coordinate
|
|
1475
|
-
* @returns the color of the pixel
|
|
1476
|
-
* @example
|
|
1477
|
-
* ```ts
|
|
1478
|
-
* import { Jimp } from "jimp";
|
|
1479
|
-
*
|
|
1480
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1481
|
-
*
|
|
1482
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
1483
|
-
* ```
|
|
1484
|
-
*/
|
|
1485
|
-
getPixelColor(x: number, y: number): number;
|
|
1486
|
-
/**
|
|
1487
|
-
* Sets the hex colour value of a pixel
|
|
1488
|
-
*
|
|
1489
|
-
* @param hex color to set
|
|
1490
|
-
* @param x the x coordinate
|
|
1491
|
-
* @param y the y coordinate
|
|
1492
|
-
*
|
|
1493
|
-
* @example
|
|
1494
|
-
* ```ts
|
|
1495
|
-
* import { Jimp } from "jimp";
|
|
1496
|
-
*
|
|
1497
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1498
|
-
*
|
|
1499
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
1500
|
-
* ```
|
|
1501
|
-
*/
|
|
1502
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
1503
|
-
/**
|
|
1504
|
-
* Determine if the image contains opaque pixels.
|
|
1505
|
-
*
|
|
1506
|
-
* @example
|
|
1507
|
-
* ```ts
|
|
1508
|
-
* import { Jimp } from "jimp";
|
|
1509
|
-
*
|
|
1510
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
1511
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1512
|
-
*
|
|
1513
|
-
* image.hasAlpha(); // false
|
|
1514
|
-
* image2.hasAlpha(); // true
|
|
1515
|
-
* ```
|
|
1516
|
-
*/
|
|
1517
|
-
hasAlpha(): boolean;
|
|
1518
|
-
/**
|
|
1519
|
-
* Composites a source image over to this image respecting alpha channels
|
|
1520
|
-
* @param src the source Jimp instance
|
|
1521
|
-
* @param x the x position to blit the image
|
|
1522
|
-
* @param y the y position to blit the image
|
|
1523
|
-
* @param options determine what mode to use
|
|
1524
|
-
* @example
|
|
1525
|
-
* ```ts
|
|
1526
|
-
* import { Jimp } from "jimp";
|
|
1527
|
-
*
|
|
1528
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
1529
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1530
|
-
*
|
|
1531
|
-
* image.composite(image2, 3, 3);
|
|
1532
|
-
* ```
|
|
1533
|
-
*/
|
|
1534
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
1535
|
-
mode?: BlendMode;
|
|
1536
|
-
opacitySource?: number;
|
|
1537
|
-
opacityDest?: number;
|
|
1538
|
-
}): any;
|
|
1539
|
-
/**
|
|
1540
|
-
* Scan through the image and call the callback for each pixel
|
|
1541
|
-
*
|
|
1542
|
-
* @example
|
|
1543
|
-
* ```ts
|
|
1544
|
-
* import { Jimp } from "jimp";
|
|
1545
|
-
*
|
|
1546
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1547
|
-
*
|
|
1548
|
-
* image.scan((x, y, idx) => {
|
|
1549
|
-
* // do something with the pixel
|
|
1550
|
-
* });
|
|
1551
|
-
*
|
|
1552
|
-
* // Or scan through just a region
|
|
1553
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1554
|
-
* // do something with the pixel
|
|
1555
|
-
* });
|
|
1556
|
-
* ```
|
|
1557
|
-
*/
|
|
1558
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
1559
|
-
/**
|
|
1560
|
-
* Scan through the image and call the callback for each pixel
|
|
1561
|
-
*
|
|
1562
|
-
* @example
|
|
1563
|
-
* ```ts
|
|
1564
|
-
* import { Jimp } from "jimp";
|
|
1565
|
-
*
|
|
1566
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1567
|
-
*
|
|
1568
|
-
* image.scan((x, y, idx) => {
|
|
1569
|
-
* // do something with the pixel
|
|
1570
|
-
* });
|
|
1571
|
-
*
|
|
1572
|
-
* // Or scan through just a region
|
|
1573
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1574
|
-
* // do something with the pixel
|
|
1575
|
-
* });
|
|
1576
|
-
* ```
|
|
1577
|
-
*/
|
|
1578
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
1579
|
-
/**
|
|
1580
|
-
* Iterate scan through a region of the bitmap
|
|
1581
|
-
* @param x the x coordinate to begin the scan at
|
|
1582
|
-
* @param y the y coordinate to begin the scan at
|
|
1583
|
-
* @param w the width of the scan region
|
|
1584
|
-
* @param h the height of the scan region
|
|
1585
|
-
* @example
|
|
1586
|
-
* ```ts
|
|
1587
|
-
* import { Jimp } from "jimp";
|
|
1588
|
-
*
|
|
1589
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1590
|
-
*
|
|
1591
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
1592
|
-
* // do something with the pixel
|
|
1593
|
-
* }
|
|
1594
|
-
* ```
|
|
1595
|
-
*/
|
|
1596
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
1597
|
-
x: number;
|
|
1598
|
-
y: number;
|
|
1599
|
-
idx: number;
|
|
1600
|
-
image: any;
|
|
1601
|
-
}, void, unknown>;
|
|
1602
|
-
}, UnionToIntersection<Methods[number]>>>;
|
|
1603
|
-
} & Constructor<JimpInstanceMethods<{
|
|
1604
|
-
/**
|
|
1605
|
-
* The bitmap data of the image
|
|
1606
|
-
*/
|
|
1607
|
-
bitmap: Bitmap;
|
|
1608
|
-
/** Default color to use for new pixels */
|
|
1609
|
-
background: number;
|
|
1610
|
-
/** Formats that can be used with Jimp */
|
|
1611
|
-
formats: Format<any>[];
|
|
1612
|
-
/** The original MIME type of the image */
|
|
1613
|
-
mime?: string;
|
|
1614
|
-
/**
|
|
1615
|
-
* Nicely format Jimp object when sent to the console e.g. console.log(image)
|
|
1616
|
-
* @returns Pretty printed jimp object
|
|
1617
|
-
* @example
|
|
1618
|
-
* ```ts
|
|
1619
|
-
* import { Jimp } from "jimp";
|
|
1620
|
-
*
|
|
1621
|
-
* const image = await Jimp.read("test/image.png");
|
|
1622
|
-
*
|
|
1623
|
-
* console.log(image);
|
|
1624
|
-
* ```
|
|
1625
|
-
*/
|
|
1626
|
-
inspect(): string;
|
|
1627
|
-
/**
|
|
1628
|
-
* Nicely format Jimp object when converted to a string
|
|
1629
|
-
* @returns pretty printed
|
|
1630
|
-
*/
|
|
1631
|
-
toString(): string;
|
|
1632
|
-
/** Get the width of the image */
|
|
1633
|
-
readonly width: number;
|
|
1634
|
-
/** Get the height of the image */
|
|
1635
|
-
readonly height: number;
|
|
1636
|
-
/**
|
|
1637
|
-
* Converts the Jimp instance to an image buffer
|
|
1638
|
-
* @param mime The mime type to export to
|
|
1639
|
-
* @param options The options to use when exporting
|
|
1640
|
-
* @example
|
|
1641
|
-
* ```ts
|
|
1642
|
-
* import { Jimp } from "jimp";
|
|
1643
|
-
* import { promises as fs } from "fs";
|
|
1644
|
-
*
|
|
1645
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1646
|
-
*
|
|
1647
|
-
* await image.getBuffer("image/jpeg", {
|
|
1648
|
-
* quality: 50,
|
|
1649
|
-
* });
|
|
1650
|
-
* ```
|
|
1651
|
-
*/
|
|
1652
|
-
getBuffer<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<Buffer>;
|
|
1653
|
-
/**
|
|
1654
|
-
* Converts the image to a base 64 string
|
|
1655
|
-
*
|
|
1656
|
-
* @param mime The mime type to export to
|
|
1657
|
-
* @param options The options to use when exporting
|
|
1658
|
-
* @example
|
|
1659
|
-
* ```ts
|
|
1660
|
-
* import { Jimp } from "jimp";
|
|
1661
|
-
*
|
|
1662
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
1663
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1664
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1665
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1666
|
-
* ]));
|
|
1667
|
-
*
|
|
1668
|
-
* const base64 = image.getBase64("image/jpeg", {
|
|
1669
|
-
* quality: 50,
|
|
1670
|
-
* });
|
|
1671
|
-
* ```
|
|
1672
|
-
*/
|
|
1673
|
-
getBase64<ProvidedMimeType extends ReturnType<Formats[number]>["mime"], Options extends GetOptionsForMimeType<ProvidedMimeType, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(mime: ProvidedMimeType, options?: Options | undefined): Promise<string>;
|
|
1674
|
-
/**
|
|
1675
|
-
* Write the image to a file
|
|
1676
|
-
* @param path the path to write the image to
|
|
1677
|
-
* @param options the options to use when writing the image
|
|
1678
|
-
* @example
|
|
1679
|
-
* ```ts
|
|
1680
|
-
* import { Jimp } from "jimp";
|
|
1681
|
-
*
|
|
1682
|
-
* const image = Jimp.fromBuffer(Buffer.from([
|
|
1683
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1684
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1685
|
-
* 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00,
|
|
1686
|
-
* ]));
|
|
1687
|
-
*
|
|
1688
|
-
* await image.write("test/output.png");
|
|
1689
|
-
* ```
|
|
1690
|
-
*/
|
|
1691
|
-
write<Extension extends string, Mime extends GetMimeTypeForExtension<Extension, CreateExtensionToMimeType<ReturnType<Formats[number]>["mime"]>>, Options extends GetOptionsForMimeType<Mime, CreateMimeTypeToExportOptions<ReturnType<Formats[number]>>>>(path: `${string}.${Extension}`, options?: Options | undefined): Promise<void>;
|
|
1692
|
-
/**
|
|
1693
|
-
* Clone the image into a new Jimp instance.
|
|
1694
|
-
* @param this
|
|
1695
|
-
* @returns A new Jimp instance
|
|
1696
|
-
* @example
|
|
1697
|
-
* ```ts
|
|
1698
|
-
* import { Jimp } from "jimp";
|
|
1699
|
-
*
|
|
1700
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1701
|
-
*
|
|
1702
|
-
* const clone = image.clone();
|
|
1703
|
-
* ```
|
|
1704
|
-
*/
|
|
1705
|
-
clone<S extends {
|
|
1706
|
-
new (options?: JimpConstructorOptions): any;
|
|
1707
|
-
/**
|
|
1708
|
-
* Create a Jimp instance from a URL, a file path, or a Buffer
|
|
1709
|
-
* @example
|
|
1710
|
-
* ```ts
|
|
1711
|
-
* import { Jimp } from "jimp";
|
|
1712
|
-
*
|
|
1713
|
-
* // Read from a file path
|
|
1714
|
-
* const image = await Jimp.read("test/image.png");
|
|
1715
|
-
*
|
|
1716
|
-
* // Read from a URL
|
|
1717
|
-
* const image = await Jimp.read("https://upload.wikimedia.org/wikipedia/commons/0/01/Bot-Test.jpg");
|
|
1718
|
-
* ```
|
|
1719
|
-
*/
|
|
1720
|
-
read(url: string | Buffer | ArrayBuffer, options?: CreateMimeTypeToDecodeOptions<ReturnType<Formats[number]>>): Promise<any & JimpInstanceMethods<any, UnionToIntersection<Methods[number]>>>;
|
|
1721
|
-
/**
|
|
1722
|
-
* Create a Jimp instance from a bitmap.
|
|
1723
|
-
* The difference between this and just using the constructor is that this will
|
|
1724
|
-
* convert raw image data into the bitmap format that Jimp uses.
|
|
1725
|
-
*
|
|
1726
|
-
* @example
|
|
1727
|
-
* ```ts
|
|
1728
|
-
* import { Jimp } from "jimp";
|
|
1729
|
-
*
|
|
1730
|
-
* const image = Jimp.fromBitmap({
|
|
1731
|
-
* data: Buffer.from([
|
|
1732
|
-
* 0xffffffff, 0xffffffff, 0xffffffff,
|
|
1733
|
-
* 0xffffffff, 0xffffffff, 0xffffffff,
|
|
1734
|
-
* 0xffffffff, 0xffffffff, 0xffffffff,
|
|
1735
|
-
* ]),
|
|
1736
|
-
* width: 3,
|
|
1737
|
-
* height: 3,
|
|
1738
|
-
* });
|
|
1739
|
-
* ```
|
|
1740
|
-
*/
|
|
1741
|
-
fromBitmap(bitmap: RawImageData): InstanceType<any> & JimpInstanceMethods<any, UnionToIntersection<Methods[number]>>;
|
|
1742
|
-
/**
|
|
1743
|
-
* Parse a bitmap with the loaded image types.
|
|
1744
|
-
*
|
|
1745
|
-
* @param buffer Raw image data
|
|
1746
|
-
* @example
|
|
1747
|
-
* ```ts
|
|
1748
|
-
* import { Jimp } from "jimp";
|
|
1749
|
-
*
|
|
1750
|
-
* const buffer = await fs.readFile("test/image.png");
|
|
1751
|
-
* const image = await Jimp.fromBuffer(buffer);
|
|
1752
|
-
* ```
|
|
1753
|
-
*/
|
|
1754
|
-
fromBuffer(buffer: Buffer | ArrayBuffer, options?: CreateMimeTypeToDecodeOptions<ReturnType<Formats[number]>>): Promise<any & JimpInstanceMethods<any, UnionToIntersection<Methods[number]>>>;
|
|
1755
|
-
}>(this: S): S;
|
|
1756
|
-
/**
|
|
1757
|
-
* Returns the offset of a pixel in the bitmap buffer
|
|
1758
|
-
* @param x the x coordinate
|
|
1759
|
-
* @param y the y coordinate
|
|
1760
|
-
* @param edgeHandling (optional) define how to sum pixels from outside the border
|
|
1761
|
-
* @returns the index of the pixel or -1 if not found
|
|
1762
|
-
* @example
|
|
1763
|
-
* ```ts
|
|
1764
|
-
* import { Jimp } from "jimp";
|
|
1765
|
-
*
|
|
1766
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1767
|
-
*
|
|
1768
|
-
* image.getPixelIndex(1, 1); // 2
|
|
1769
|
-
* ```
|
|
1770
|
-
*/
|
|
1771
|
-
getPixelIndex(x: number, y: number, edgeHandling?: Edge): number;
|
|
1772
|
-
/**
|
|
1773
|
-
* Returns the hex color value of a pixel
|
|
1774
|
-
* @param x the x coordinate
|
|
1775
|
-
* @param y the y coordinate
|
|
1776
|
-
* @returns the color of the pixel
|
|
1777
|
-
* @example
|
|
1778
|
-
* ```ts
|
|
1779
|
-
* import { Jimp } from "jimp";
|
|
1780
|
-
*
|
|
1781
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1782
|
-
*
|
|
1783
|
-
* image.getPixelColor(1, 1); // 0xffffffff
|
|
1784
|
-
* ```
|
|
1785
|
-
*/
|
|
1786
|
-
getPixelColor(x: number, y: number): number;
|
|
1787
|
-
/**
|
|
1788
|
-
* Sets the hex colour value of a pixel
|
|
1789
|
-
*
|
|
1790
|
-
* @param hex color to set
|
|
1791
|
-
* @param x the x coordinate
|
|
1792
|
-
* @param y the y coordinate
|
|
1793
|
-
*
|
|
1794
|
-
* @example
|
|
1795
|
-
* ```ts
|
|
1796
|
-
* import { Jimp } from "jimp";
|
|
1797
|
-
*
|
|
1798
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1799
|
-
*
|
|
1800
|
-
* image.setPixelColor(0xff0000ff, 0, 0);
|
|
1801
|
-
* ```
|
|
1802
|
-
*/
|
|
1803
|
-
setPixelColor(hex: number, x: number, y: number): any;
|
|
1804
|
-
/**
|
|
1805
|
-
* Determine if the image contains opaque pixels.
|
|
1806
|
-
*
|
|
1807
|
-
* @example
|
|
1808
|
-
* ```ts
|
|
1809
|
-
* import { Jimp } from "jimp";
|
|
1810
|
-
*
|
|
1811
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffaa });
|
|
1812
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1813
|
-
*
|
|
1814
|
-
* image.hasAlpha(); // false
|
|
1815
|
-
* image2.hasAlpha(); // true
|
|
1816
|
-
* ```
|
|
1817
|
-
*/
|
|
1818
|
-
hasAlpha(): boolean;
|
|
1819
|
-
/**
|
|
1820
|
-
* Composites a source image over to this image respecting alpha channels
|
|
1821
|
-
* @param src the source Jimp instance
|
|
1822
|
-
* @param x the x position to blit the image
|
|
1823
|
-
* @param y the y position to blit the image
|
|
1824
|
-
* @param options determine what mode to use
|
|
1825
|
-
* @example
|
|
1826
|
-
* ```ts
|
|
1827
|
-
* import { Jimp } from "jimp";
|
|
1828
|
-
*
|
|
1829
|
-
* const image = new Jimp({ width: 10, height: 10, color: 0xffffffff });
|
|
1830
|
-
* const image2 = new Jimp({ width: 3, height: 3, color: 0xff0000ff });
|
|
1831
|
-
*
|
|
1832
|
-
* image.composite(image2, 3, 3);
|
|
1833
|
-
* ```
|
|
1834
|
-
*/
|
|
1835
|
-
composite<I extends any>(src: I, x?: number, y?: number, options?: {
|
|
1836
|
-
mode?: BlendMode;
|
|
1837
|
-
opacitySource?: number;
|
|
1838
|
-
opacityDest?: number;
|
|
1839
|
-
}): any;
|
|
1840
|
-
/**
|
|
1841
|
-
* Scan through the image and call the callback for each pixel
|
|
1842
|
-
*
|
|
1843
|
-
* @example
|
|
1844
|
-
* ```ts
|
|
1845
|
-
* import { Jimp } from "jimp";
|
|
1846
|
-
*
|
|
1847
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1848
|
-
*
|
|
1849
|
-
* image.scan((x, y, idx) => {
|
|
1850
|
-
* // do something with the pixel
|
|
1851
|
-
* });
|
|
1852
|
-
*
|
|
1853
|
-
* // Or scan through just a region
|
|
1854
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1855
|
-
* // do something with the pixel
|
|
1856
|
-
* });
|
|
1857
|
-
* ```
|
|
1858
|
-
*/
|
|
1859
|
-
scan(f: (x: number, y: number, idx: number) => any): any;
|
|
1860
|
-
/**
|
|
1861
|
-
* Scan through the image and call the callback for each pixel
|
|
1862
|
-
*
|
|
1863
|
-
* @example
|
|
1864
|
-
* ```ts
|
|
1865
|
-
* import { Jimp } from "jimp";
|
|
1866
|
-
*
|
|
1867
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1868
|
-
*
|
|
1869
|
-
* image.scan((x, y, idx) => {
|
|
1870
|
-
* // do something with the pixel
|
|
1871
|
-
* });
|
|
1872
|
-
*
|
|
1873
|
-
* // Or scan through just a region
|
|
1874
|
-
* image.scan(0, 0, 2, 2, (x, y, idx) => {
|
|
1875
|
-
* // do something with the pixel
|
|
1876
|
-
* });
|
|
1877
|
-
* ```
|
|
1878
|
-
*/
|
|
1879
|
-
scan(x: number, y: number, w: number, h: number, cb: (x: number, y: number, idx: number) => any): any;
|
|
1880
|
-
/**
|
|
1881
|
-
* Iterate scan through a region of the bitmap
|
|
1882
|
-
* @param x the x coordinate to begin the scan at
|
|
1883
|
-
* @param y the y coordinate to begin the scan at
|
|
1884
|
-
* @param w the width of the scan region
|
|
1885
|
-
* @param h the height of the scan region
|
|
1886
|
-
* @example
|
|
1887
|
-
* ```ts
|
|
1888
|
-
* import { Jimp } from "jimp";
|
|
1889
|
-
*
|
|
1890
|
-
* const image = new Jimp({ width: 3, height: 3, color: 0xffffffff });
|
|
1891
|
-
*
|
|
1892
|
-
* for (const { x, y, idx, image } of j.scanIterator()) {
|
|
1893
|
-
* // do something with the pixel
|
|
1894
|
-
* }
|
|
1895
|
-
* ```
|
|
1896
|
-
*/
|
|
1897
|
-
scanIterator(x?: number, y?: number, w?: number, h?: number): Generator<{
|
|
1898
|
-
x: number;
|
|
1899
|
-
y: number;
|
|
1900
|
-
idx: number;
|
|
1901
|
-
image: any;
|
|
1902
|
-
}, void, unknown>;
|
|
1903
|
-
}, UnionToIntersection<Methods[number]>>>;
|
|
1904
|
-
//# sourceMappingURL=index.d.ts.map
|