@abasb75/charls
TypeScript icon, indicating that this package has built-in type declarations

2.4.2 • Public • Published

charls-js

JS/WebAssembly build of CharLS

demo

Using generated Javascript File:

  1. install From npm:
npm i --save @abasb75/charls
  1. import @abasb75/charls:
import CharLSWasm from '@abasb75/charls'

...
let decoder,encoder;
CharLSWasm().then(function(charlsjs) {
    decoder = new charlsjs.JpegLSDecoder();
    encoder = new charlsjs.JpegLSEncoder();
});
...

Decode

import {decode} from "@abasb75/charls";

const decoded = await decode(arrayBuffer); // ArrayBuffer
console.log('decoded',decoded);

For see example you can use this link

only decoder versions:

@abasb75/charls-decoder@2.4.2

Readme

Keywords

none

Package Sidebar

Install

npm i @abasb75/charls

Weekly Downloads

5

Version

2.4.2

License

none

Unpacked Size

373 kB

Total Files

10

Last publish

Collaborators

  • abasb75