I have a node-webkit application, which has a J2K image stored as a typed array. I need a Node.js plugin which will wrap around the openjpeg C code ([url removed, login to view]), take in the typed array, decompress the JPEG2000 file, convert it to raw pixels, and return the pixels as a new typed array.
Essentially, I want _exactly_ the same interface as [url removed, login to view] (does exactly what is described above, but works using an Emscripten-compiled version of openjpeg). I need to use the C extension directly for performance reasons.
I'm intimately familiar with Node.JS and C++ . I'd love to work on this project (they are two of my favourite languages! Most of C++ code is written to interface with Node).