{"_id":"@abasb75/jpeg2000-decoder","_rev":"9-5ef1acc7cf5680365d641f2cd8e0626a","name":"@abasb75/jpeg2000-decoder","dist-tags":{"latest":"2.5.4-f"},"versions":{"2.5.2":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.2","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.2","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"2d29c08f7eb52ff98d04c51578b13244fe0b271a","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.2.tgz","fileCount":11,"integrity":"sha512-EXKFFKsfWnu54kFqzRHw60XZbCb/RfEg5zR12aIeuGKrPQJNxUvqGRwLPSOs1PWKDfqmbHu1fzEt/Y7e8wGmmw==","signatures":[{"sig":"MEUCIQDLR1T8VH+tAeTzS2BpMDzT21Z3AtcHzBBswzGoNJ8QFgIgVGMAaY+dQkmFH5AtgSs9bbyDQPm/+KRgc1EThsISaB8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":354139},"main":"index.js","types":"interface.d.ts","gitHead":"6139b9b9f4431988e28edea325caa8173134ab40","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"https://github.com/abasb75/openjpeg/raction.git","type":"git"},"_npmVersion":"10.9.0","description":"Openjpeg for browsers","directories":{"test":"test"},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.2_1733645765083_0.7990666917182798","host":"s3://npm-registry-packages"}},"2.5.2-u1":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.2-u1","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.2-u1","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"f4027a872f039182a6d693c02f3b899303ad742c","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.2-u1.tgz","fileCount":11,"integrity":"sha512-ZgU/LjKLuTRY8diMgljmpFApBviGoo/IzORERmB6w4hTxvREHMfrGC79ay/swIv1xdRP0Di+6xki2ONER3J7xg==","signatures":[{"sig":"MEYCIQCZEdz6hJgN7SsuocTXBt///hXIR9lSGRhpyWbwYciq3wIhAKM16I414FPFO+fgui7WDj3wbyuBbqDwzpgFilzQpEId","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":379738},"main":"index.js","types":"interface.d.ts","gitHead":"6139b9b9f4431988e28edea325caa8173134ab40","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"https://github.com/abasb75/openjpeg/raction.git","type":"git"},"_npmVersion":"10.9.0","description":"Openjpeg for browsers","directories":{"test":"test"},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.2-u1_1734154026131_0.9593982715247953","host":"s3://npm-registry-packages-npm-production"}},"2.5.3":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.3","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.3","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"00b141ba917212a5a16bdb145daa82ffca92f218","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.3.tgz","fileCount":11,"integrity":"sha512-TIxIzS6EBBftd+V6UITXIFb6kMzwN6wij516rSte2u10bXeRUSpspCS+Qt603lAdEncYcl0Gk/QHUDGMlFLyqA==","signatures":[{"sig":"MEUCIQCyBRMorlmtwM70CtyoWR3DdleB9FMSuVmmkrDD+dltuAIgBILzW+XjslZ0+oAAcqCjZCzzE2Y8ZI89lD6eEl0m5cM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":385253},"main":"index.js","types":"interface.d.ts","gitHead":"6139b9b9f4431988e28edea325caa8173134ab40","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"https://github.com/abasb75/openjpeg/raction.git","type":"git"},"_npmVersion":"10.9.0","description":"OpenJpeg for JavaScript","directories":{"test":"test"},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.3_1734493817620_0.03167621965906853","host":"s3://npm-registry-packages-npm-production"}},"2.5.4-a":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.4-a","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.4-a","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"5c8d8ecb0bfe6565e7e8d1f26fbd500074f09d9a","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.4-a.tgz","fileCount":6,"integrity":"sha512-AWrNt33G1FBR2TpWn5f/yCFxMLLnhCfE4Am+yVH0ovZXBOS9URDD+umU5Vy1IDrOPX0ZJEDP5ORlOCEwSxpniw==","signatures":[{"sig":"MEYCIQCthiJtYGrm+Q/3dnmn0eC3q/Cx/spaUjdwKe36d1AYkQIhALhq29NynHEuS/Lw6vY5XBZGq++BiGF3yS30c15N3BRf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2525228},"main":"index.js","types":"interface.d.ts","gitHead":"8f58bb428a8048bb6de7f06970b67bf51989128b","scripts":{"build":"tsup"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"git+https://github.com/abasb75/openjpeg.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenJpeg for JavaScript","directories":{"test":"test"},"_nodeVersion":"22.15.0","dependencies":{"tsup":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.4-a_1765309336870_0.12889526113495764","host":"s3://npm-registry-packages-npm-production"}},"2.5.4-b":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.4-b","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.4-b","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"34beadd69aba0a8460e290b97820a624a8ae9380","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.4-b.tgz","fileCount":6,"integrity":"sha512-nREldeCWt9l4fizTKlHM3hEWfRu00OLEUmmWlMOaI4vj7KN/ons1ZZCBCaF5n1WR90HAwEz6KCOnqbRz4gxc9g==","signatures":[{"sig":"MEYCIQCYocnx4qAHY+GGhpg98jbJja8AaCEC5LPCTI7fJHQjlAIhAJ5TvI+D6GhYxw1zcdjZuGOFheGXQyil11W9VuDszr8J","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2525238},"main":"dist/index.js","types":"dist/interface.d.ts","gitHead":"8f58bb428a8048bb6de7f06970b67bf51989128b","scripts":{"build":"tsup"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"git+https://github.com/abasb75/openjpeg.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenJpeg for JavaScript","directories":{"test":"test"},"_nodeVersion":"22.15.0","dependencies":{"tsup":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.4-b_1765309785021_0.8045371696685082","host":"s3://npm-registry-packages-npm-production"}},"2.5.4-c":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.4-c","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.4-c","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"8eca80149b6c24fb39eaef934fcc74ee294b2336","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.4-c.tgz","fileCount":6,"integrity":"sha512-FasILL3OrGAeVubrmonx+YL0rm80XN0C4q7ZIiSPLYgL9Y/c/JcpNzffNOLCJq11h/HoeSsNNWTGGAJolH2aqg==","signatures":[{"sig":"MEQCIDF21NiuD1iVp79DnPSfi93gh8pyTjqIZiHk00Y/E0hOAiBRTrYvJ5ixG7+LkcgoluVzp4GbykGL5bDVnG1ysxK6rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2525238},"main":"dist/index.js","types":"dist/interface.d.ts","gitHead":"8f58bb428a8048bb6de7f06970b67bf51989128b","scripts":{"build":"tsup"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"git+https://github.com/abasb75/openjpeg.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenJpeg for JavaScript","directories":{"test":"test"},"_nodeVersion":"22.15.0","dependencies":{"tsup":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.4-c_1765310116656_0.5658110282404929","host":"s3://npm-registry-packages-npm-production"}},"2.5.4-d":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.4-d","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.4-d","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"390220431e4b53f163d6bc6ebc749a5a37866556","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.4-d.tgz","fileCount":8,"integrity":"sha512-67WELN6TO5TPep79IlA8UJqyFtPWiSKGpFUtD82yHFQfXH2IHX+VcrKFyt/+lP87+CpD0KIKQ2jtvdDkafXMDw==","signatures":[{"sig":"MEYCIQC42KToR85pr5jl2jNZZ+x9M8CucuCBdYJoAdyq5Mn/HgIhAJnSJ95XTtgGBWb9lwg5TFeIA622TD0JEyd9fSw9h0Kv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2527247},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8f58bb428a8048bb6de7f06970b67bf51989128b","scripts":{"build":"tsup"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"git+https://github.com/abasb75/openjpeg.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenJpeg for JavaScript","directories":{"test":"test"},"_nodeVersion":"22.15.0","dependencies":{"tsup":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.4-d_1765310665486_0.4299067797673435","host":"s3://npm-registry-packages-npm-production"}},"2.5.4-e":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.4-e","author":"","_id":"@abasb75/jpeg2000-decoder@2.5.4-e","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/openjpeg#readme","bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"dist":{"shasum":"50b3e14adef003b7a078fdb14cf710623e2a8d63","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.4-e.tgz","fileCount":11,"integrity":"sha512-FX3UUApihXmSbGpsT1uHhrnW9x+NCc32wGCZ2CcW/Go7rNfs/KaagebA2pcrLvANd1BhN2b1XhlxyiqjeQkkqg==","signatures":[{"sig":"MEYCIQDQoCAqajdzr90FCj0yI3R6C0DX4oFUPXBeec10kDwEYQIhANsHyvku3Dys8KxZTbDNnx+MkGX9Y5zxD9Z9ad8gwdtU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2657526},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"0206e504bb3f13f4656abb79d8c9dd23c28a430f","scripts":{"dev":"rollup -c --watch","build":"rollup -c"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"git+https://github.com/abasb75/openjpeg.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenJpeg for JavaScript","directories":{"test":"test"},"_nodeVersion":"22.15.0","dependencies":{"tsup":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.53.3","typescript":"^5.9.3","rollup-plugin-copy":"^3.5.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/jpeg2000-decoder_2.5.4-e_1765385518580_0.41719625100844215","host":"s3://npm-registry-packages-npm-production"}},"2.5.4-f":{"name":"@abasb75/jpeg2000-decoder","version":"2.5.4-f","description":"OpenJpeg for JavaScript","main":"dist/index.js","types":"dist/index.d.ts","directories":{"test":"test"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"rollup -c","dev":"rollup -c --watch"},"author":"","repository":{"type":"git","url":"git+https://github.com/abasb75/openjpeg.git"},"bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"homepage":"https://github.com/abasb75/openjpeg#readme","dependencies":{"tsup":"^8.5.1"},"devDependencies":{"@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^16.0.3","@rollup/plugin-typescript":"^12.3.0","rollup":"^4.53.3","rollup-plugin-copy":"^3.5.0","tslib":"^2.8.1","typescript":"^5.9.3"},"_id":"@abasb75/jpeg2000-decoder@2.5.4-f","gitHead":"0206e504bb3f13f4656abb79d8c9dd23c28a430f","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-YnZHTH0Qn0bzKOyhwAg3QdX83on8fr1Sa09NOBerrU8kw7wZ4WqTIMCFJr7f145rnJvJtH8dsjC9yHumyfLO/Q==","shasum":"fbd80cd7b70be01cb9a936baf32a800c9466b612","tarball":"https://registry.npmjs.org/@abasb75/jpeg2000-decoder/-/jpeg2000-decoder-2.5.4-f.tgz","fileCount":11,"unpackedSize":2657525,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHyJckC4ZIUh3wCS+e0xzXrwf3YtXoX2XGUA12ccI7K/AiEAjCez5Dj8h2f/rulTU7YQnjU6WQDydVYlVBeHLhmK4Nk="}]},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jpeg2000-decoder_2.5.4-f_1765890249491_0.10737339714492578"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-08T08:16:04.965Z","modified":"2025-12-16T13:04:09.902Z","2.5.2":"2024-12-08T08:16:05.311Z","2.5.2-u1":"2024-12-14T05:27:06.310Z","2.5.3":"2024-12-18T03:50:17.817Z","2.5.4-a":"2025-12-09T19:42:17.058Z","2.5.4-b":"2025-12-09T19:49:45.226Z","2.5.4-c":"2025-12-09T19:55:16.830Z","2.5.4-d":"2025-12-09T20:04:25.740Z","2.5.4-e":"2025-12-10T16:51:58.764Z","2.5.4-f":"2025-12-16T13:04:09.702Z"},"bugs":{"url":"https://github.com/abasb75/openjpeg/issues"},"homepage":"https://github.com/abasb75/openjpeg#readme","repository":{"type":"git","url":"git+https://github.com/abasb75/openjpeg.git"},"description":"OpenJpeg for JavaScript","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"readme":"## @abasb75/jpeg2000-decoder (only decoder)\nJS/WebAssembly build of [OpenJPEG](https://github.com/uclouvain/openjpeg)\n\n## Description\n`OpenJPEG` support most of `OpenJPEG2000` decoding or encoding.\n\n## Using generated Javascript File:\n1. install From `npm`:\n\n```bash\nnpm i --save @abasb75/jpeg2000-decoder@2.5.4-decoder\n```\n\n2. import `@abasb75/jpeg2000-decoder`:\n\n```js\nimport { OpenJPEGWASM } from '@abasb75/jpeg2000-decoder'\n\n...\nlet decoder,encoder;\nOpenJPEGWASM().then(function(openjpegjs) {\n    decoder = new openjpegjs.J2KDecoder();\n});\n...\n\n```\n\n# Decode\n\n```javascript\n\nimport {decode} from \"@abasb75/jpeg2000-decoder\";\n\nconst decoded = await decode(arrayBuffer); // ArrayBuffer\n\n\n```\n\nFor see example you can use <a href=\"https://github.com/abasb75/openjpeg/blob/master/test/browser/index.html\">this link</a>","readmeFilename":"README.md"}