Resize your images with CLI command
Resizer is a command-line tool designed to resize images quickly and easily. Whether you need to resize images for web projects, social media, or any other purpose, Resizer provides a convenient way to accomplish this task without the need for complex image editing software.
To install Resizer, you can use the go install command:
go install github.com/varomnrg/resizer@latestMake sure you have Go installed on your system before running the installation command.
Resizer provides a simple command-line interface for resizing images. You can use the following command to resize an image:
resizer <imagepath> <width> <height>To check the resolution of an image, use the following command:
resizer check <imagepath>Replace <imagepath>, <width>, and <height> with the appropriate values for your image resizing needs.
Resizer supports the following options:
check: Check the resolution of the specified image without resizing it.
Here are some examples of how to use Resizer:
To resize an image named example.jpg to a width of 800 pixels and a height of 600 pixels:
resizer example.jpg 800 600To check the resolution of the same image without resizing it:
resizer check example.jpg