Skip to content

Commit

Permalink
help and resample option added
Browse files Browse the repository at this point in the history
  • Loading branch information
soeren-kirchner committed Nov 10, 2019
1 parent 0fc51ee commit 0217e28
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyimgbatch/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ def get_args():

image_manipulation_group = parser.add_argument_group('image manipulation')
image_manipulation_group.add_argument('--width', type=int,
default=None, help='...')
default=None, help='width of the destination image.')
image_manipulation_group.add_argument('--height', type=int,
default=None, help='...')
default=None, help='height of the destination image.')
image_manipulation_group.add_argument('--resample', type=str, choices=["none", "bilinear", "bicubic", "hamming", "box", "antialias"],
default="antialias", help='resample arlgorithm used for resizing, defaults to "antialias"')

return parser.parse_args()

Expand Down

0 comments on commit 0217e28

Please sign in to comment.