Skip to content

andreiciceu/js-image-min-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Min image size

Node script that ensures all images in a directory have at least 256 (or given) width/height in pixels. (Converts the ones smaller).

Use case: To easily upload a bunch of photos into Google Photos.

Running

  • npm install
  • node convert.js <FOLDER_PATH> or node convert.js <FOLDER_PATH> <MIN_SIZE>

e.g.

node .\convert.js ../test 256

About

Script to ensure minimum dimensions for images in a folder (for easy upload to Google Photos)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published