
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
A modern CLI tool for batch image conversion and optimization. Easily convert and optimize multiple images at once while maintaining your directory structure.
npm install -g .
npx cmg
Basic usage:
cmg
This will start an interactive prompt asking for:
cmg [options]
Options:
-f, --format <type> output format (jpeg, png, webp) (default: "webp")
-q, --quality <number> output quality (1-100) (default: "80")
-w, --width <pixels> resize image width maintaining aspect ratio
-o, --output <dir> output directory for converted images
-r, --recursive process images in subdirectories
-h, --help display help for command
Convert all images in current directory to WebP with interactive options:
cmg
Convert to JPEG with 90% quality:
cmg -f jpeg -q 90
Convert and resize images to desktop size (1920px):
cmg -w 1920
Process all images including subdirectories:
cmg -r
Specify output directory:
cmg -o ./converted
Default output directory: C:\CMGOutput
Default output directory: ~/CMGOutput
If you're using Windows with Controlled Folder Access enabled (Windows Defender), the tool will:
The tool provides clear error messages for common issues:
MIT
imagino/
├── lib/
│ ├── converter.js # Image conversion logic
│ └── prompts.js # Interactive prompts
├── index.js # CLI entry point
├── package.json # Project configuration
└── README.md # Documentation
If you want to develop or modify the tool:
# Install dependencies
npm install
# Run locally
npm start
#� �c�m�g� � �
FAQs
Modern CLI tool for image conversion and optimization
The npm package cmg receives a total of 4 weekly downloads. As such, cmg popularity was classified as not popular.
We found that cmg 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.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.