Socket
Socket
Sign inDemoInstall

@hentamine/imp

Package Overview
Dependencies
91
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hentamine/imp

CLI tool for manipulating images for web


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Imp

Imp is a cli tool to manipulate images for web consumption.

Getting Started

npm i @hentamine/imp

Using Imp

To use Imp, navigate to the directory that contains images you want to manipulate.

cd ./<imageDir>

Imp will manipulate all images (jpg/png) within the current working directory.

It takes three parameters:

  • --width <n>
  • --height <n>
  • --quality <1-100>
imp --width 256 --height 256 --quality 100

Imp will create a new directory of all the converted images named "<width>x<height>-<quality>". All converted files will have the same name and format inside the new directory.

Keywords

FAQs

Last updated on 03 Mar 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc