Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsNoahEvans committed Nov 14, 2023
1 parent 847a380 commit 8aec133
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Easily resize images

## Usage:
`Usage: ./resizer <image_path> <size> ...`
`Usage: ./resizer <image_paths> <sizes> ...`

Sizes can be a single number, to resize into a square:
`./resizer <image_path> 1024 ...`
Expand All @@ -14,6 +14,11 @@ Individual sizes are separated by a space.

Add as many sizes as you want, mixing between both square & exact measurements.

Specify as many file paths as you want, including by using wildcards:
`./resizer images/* 1024x1024`

`./resizer img1.png img2.png 512x512 1024x1024`

Supports JPEG, PNG, and GIF.

Results will be stored in the same directory as the input file, with the size at the end:
Expand Down

0 comments on commit 8aec133

Please sign in to comment.