PHOTO OPTIMIZE
Developed by Phuong Duong
Prerequisite
- Node.JS v12.x
Installation
- Install Node.JS: Download and Install here
- Open Terminal or iTerm and clone this project:
git clone https://gitlab.com/dthphuong1/photo-optimize.git - Open project:
cd photo-optimize - Install necessary packages:
npm install -
Put your high quality photos in
imagesfolder - Run:
node main.js --size 1280 --quality 80
Ps1. You can change size and quality in above command
Ps2. The output (resize and compress) photos are in output folder