resizeimages

command module
v0.0.0-...-bc033e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2014 License: MIT Imports: 15 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL