
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
image-divider
Advanced tools
Divide a large image to small images
This npm-module depends on imagemagick CLI tools.
e.g. Mac with Homebrew:
brew install imagemagick
e.g. Debian:
sudo apt-get install imagemagick
Assert ImageMagick is installed:
$convert --version
Version: ImageMagick 6.8.7-7 Q16 x86_64 2013-11-27 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib freetype jng jpeg ltdl png xml zlib
npm install -g image-divider
image-divider.js:
module.exports = {
images: [{
src: 'path/to/large.png',
pos: [16, 32],
size: [16, 16],
dest: 'path/to/dest/icon-1.png'
}, {
src: 'path/to/large.png',
pos: [16, 48],
size: [16, 16],
dest: 'foo/bar/dest/icon-2.png'
}]
};
image-divider --conf path/to/image-divider.js
$tree foo/bar/dest
foo/bar/dest
├── icon-1.png
└── icon-2.png
Note:
--conf, -c option
./image-divider.js if it is not setFAQs
Divide a large image to small images
We found that image-divider demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.