Changed resize args.

This commit is contained in:
ArciducaZagaria 2021-04-18 21:07:05 +02:00
parent a9fd510e28
commit 24ded8d2f7
1 changed files with 2 additions and 2 deletions

View File

@ -62,9 +62,9 @@ public class NewCommand extends IoMCommand {
switch (args[1]) {
case "resize":
return ImageUtils.ScalingType.CONTAINED;
case "resize-stretched":
case "stretch":
return ImageUtils.ScalingType.STRETCHED;
case "resize-covered":
case "cover":
return ImageUtils.ScalingType.COVERED;
default:
throwInvalidArgument(I.t("Invalid Stretching mode."));