Skip to content

dthphuong/photo-optimize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published