Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
mz-img-tools
Advanced tools
A CLI tool for processing images, including conversion, compression, and renaming.
A CLI tool for processing images, including conversion, compression, and renaming.
You can use npx to execute this CLI tool directly without installing it globally.
npx mz-img-tools
Or you can install it globally:
npm install -g mz-img-tools
npx mz-img-tools [directory] [options]
-o, --output <directory>
: Specify output directory (optional)-w, --width <number>
: Target width (optional)-h, --height <number>
: Target height (optional)-f, --format <string>
: Target image format (jpg, jpeg, png, webp, jp2, bmp, optional)-q, --quality <number>
: Compression threshold (0~1, default 0.7)Convert all images in a directory to JPEG format with a width of 800 pixels and a height of 600 pixels:
npx mz-img-tools /path/to/images -w 800 -h 600 -f jpeg -q 0.7
Convert all images to WebP format while maintaining original dimensions:
npx mz-img-tools /path/to/images -f webp -q 0.5
Process all images in the current directory with default settings:
npx mz-img-tools
This project is licensed under the ISC License. See the LICENSE file for details.
FAQs
A CLI tool for processing images, including conversion, compression, and renaming.
The npm package mz-img-tools receives a total of 0 weekly downloads. As such, mz-img-tools popularity was classified as not popular.
We found that mz-img-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.