1.1.2 • Published 4 years ago

resize-jpeg v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

What's resize-jpeg?

While developing web applications, I needed to use the same static image in different sizes. I wrote a little nodejs cli tool to achieve this.

How to use ?

## With image link + npx ⚡️

Add your image links (comma seperated if multiple) as last arg.

npx resize-jpeg md=320x240,lg=600x400,xl=1200x900 https://upload.wikimedia.org/wikipedia/commons/a/a3/June_odd-eyed-cat.jpg

## With local files

If you cloned this repo :

  • Copy your "jpg", "jpeg", "png" files to input folder. Then run following command
npm run resize-jpeg md=320x240,lg=600x400,xl=1200x900

## With image link

Add your image links (comma seperated if multiple) as last arg.

npm run resize-jpeg md=320x240,lg=600x400,xl=1200x900 https://upload.wikimedia.org/wikipedia/commons/a/a3/June_odd-eyed-cat.jpg

Where are my files ?

Your files are in your pictures directory e.g :

Windows Based Systems

c:\Users\\Pictures\image-resizer

Unix Based Systems

 /Users/<Username>/Pictures/image-resizer

Supported Extensions

Supported prefix names = "sm", "md", "lg", "xl"

Supported extensions = "jpg", "jpeg", "png"

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago