Skip to the content.

index

resize.py

description

resize photo

preparation

prepare target photo

usage

$ python resize.py sample.jpg wide_ratio height_ratio

example:

$ python resize.py sample.jpg 10 10

original image

image

processed image

image

resize-all.sh

description

resize all photo in directory

preparation

prepare target photos in directory

usage

$ ./resize-all.sh

References