
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
TIFF image decoder written entirely in JavaScript
$ npm install tiff
This package is written using ES2015 features. It is natively compatible with recent versions of Google Chrome and Node.js. You can transpile it with a tool like babel if you need to support more JavaScript engines.
Currently, only greyscale images (8 or 16 bits) can be decoded.
The package is in early development and API should be considered entirely unstable.
I am currently only focused on extending TIFF format support and will work on the API afterwards.
Returns a new decoder instance.
Decodes the file and returns a TIFF instance.
The TIFF object has an ifd
(Image File Directory) property which is an array containing all subimages.
Each decoded image is stored in an IFD
.
The data
property is a Typed Array containing the pixel data. It is a Uint8Array
for 8bit images
and a Uint16Array
for 16bit images.
size
- number of pixelswidth
- number of columnsheight
- number of rowsbitsPerSample
- bit depthxResolution
yResolution
resolutionUnit
0.0.2 (2015-09-20)
<a name="0.0.1"></a>
FAQs
TIFF image decoder written entirely in JavaScript
The npm package tiff receives a total of 56,539 weekly downloads. As such, tiff popularity was classified as popular.
We found that tiff demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.