![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
img-convertor
Advanced tools
**img-convertor** is a simple and efficient command-line tool for converting images from one format to another. It recursively processes all image files in the current directory and converts them to the specified format. The tool is globally installed and
img-convertor is a simple and efficient command-line tool for converting images from one format to another. It recursively processes all image files in the current directory and converts them to the specified format. The tool is globally installed and provides a convert
command.
png
, jpg
, jpeg
, webp
, gif
, and bmp
.target
directory for storing converted images.To install the package globally, run:
npm install -g img-convertor
Convert all images in the current directory to a specified format:
convert <target-format>
For example, to convert all images to webp
:
convert webp
Specify the source image formats to convert from:
convert <source-formats> <target-format>
For example, to convert only jpg
and png
images to gif
:
convert jpg,png gif
If no source formats are specified, the tool will process all supported formats by default.
The converted images will be saved in a target
directory, maintaining the original directory structure.
Given a directory structure:
.
├── images
│ ├── photo.jpg
│ └── icon.png
Running the command:
convert webp
Will create the following structure:
.
├── images
│ ├── photo.jpg
│ └── icon.png
└── target
├── images
│ ├── photo.webp
│ └── icon.webp
This package depends on the sharp
library for image processing. Make sure it is correctly installed during the global installation.
This project is licensed under the ISC License.
FAQs
A CLI tool for image conversion and resizing using Node.js and Sharp.
The npm package img-convertor receives a total of 8 weekly downloads. As such, img-convertor popularity was classified as not popular.
We found that img-convertor 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.