
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@abasb75/jpeg-lossless-decoder
Advanced tools
@abasb75/jpeg-lossless-decoder is a build from @rii-mango/JPEGLosslessDecoderJS that work up 3x faster for some images in vite.
===== A common DICOM compression format is JPEG Lossless. This format is generally not supported in standard JPEG decoder libraries.
This decoder can read data from the following DICOM transfer syntaxes:
API and more examples
var decoder = new jpeg.lossless.Decoder();
var output = decoder.decompress(buffer [, offset [, length]]);
// Parameters
// {ArrayBuffer} buffer
// {Number} offset offset into buffer (default = 0)
// {Number} length length of buffer (default = end of JPEG block)
// Returns
// {ArrayBuffer} output (size = cols * rows * bytesPerComponent * numComponents)
Get a packaged source file from the release folder:
Or install via NPM:
npm install jpeg-lossless-decoder-js
npm test
npm run build
This will output lossless.js
and lossless-min.js
alongside declaration files and source maps to /release
.
This decoder was originally written by Helmut Dersch for Java. I added support for selection values 2 through 7, contributed bug fixes and ported to JavaScript.
Also thanks to @jens-ox for modernizing this package to TypeScript.
FAQs
A JavaScript JPEG Lossless decoder.
The npm package @abasb75/jpeg-lossless-decoder receives a total of 2 weekly downloads. As such, @abasb75/jpeg-lossless-decoder popularity was classified as not popular.
We found that @abasb75/jpeg-lossless-decoder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.