Skip to content

jasondelponte/resizeImages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resizeImages

Simple utility to resize JPEG and PNG images by directory.

Parameters:

  • p, containing folder of the images to be resized
  • w, new width
  • h, new height
  • rw, ratio width, auto calculates height
  • rh, ratio height, auto calculates width
  • precent, scales the image by a percentage maintaining its aspect ratio

Usage:

  • Ratio width and height will use their corresponding height and width values provided in the commandline arguments. Both ratio height and width cannot be provided at the same time.
  • Percent scaling will ignore given width and height, and is incompatable with ratio width and height

Example:

./resizeImages -p /home/user/Photos -w 800 -h 600

./resizeImages -p /home/user/Photos -w 800 -rw

./resizeImages -p /home/user/Photos -precent 50

baby-gopher

About

Simple utility to resize images within a directory to a target width and height.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages