Skip to content

SamuelChojnacki/Photo-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


PHOTO RESIZER

Photo Resizer is a Node.js command-line program that resizes images in bulk. It uses the Sharp library for image processing and can handle multiple image formats including JPEG, JPG, WEBP, PNG, and TIFF.

Getting Started

To use Photo Resizer, you must have Node.js installed on your system. You can download and install Node.js from the official Node.js website.

This is an example of how you can convert your pics.

Installation

  1. Clone the repo

    git clone https://github.com/The8blank/Photo-Resizer-v.1.git
  2. Install NPM packages

    npm install
  3. Complete the config file in app.js

    const config = {
    
       inputFolder : "YOUR INPUT FOLDER", 
       outputFolder : "YOUR OUTPUT FOLDER",
    
       formats : ["jpeg", "jpg", "webp", "png", "tiff"],
       sizes : [320, 500, 1024, 1500, 1700]
    }
    
  4. finally run

    npm start
    

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published