dthphuong / photo-optimize

A CLI tool to resize and optimize a batch of photos

Home Page:https://photo-optimize.fpo.vn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHOTO OPTIMIZE

Developed by Phuong Duong

Prerequisite

  • Node.JS v12.x

Installation

  1. Install Node.JS: Download and Install here
  2. Open Terminal or iTerm and clone this project:
git clone https://gitlab.com/dthphuong1/photo-optimize.git
  1. Open project:
cd photo-optimize
  1. Install necessary packages:
npm install
  1. Put your high quality photos in images folder

  2. 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

About

A CLI tool to resize and optimize a batch of photos

https://photo-optimize.fpo.vn/


Languages

Language:JavaScript 100.0%