Skip to content

Commit d84cbb6

Browse files
committed
transformation parameter fix/
1 parent e86ac98 commit d84cbb6

File tree

1 file changed

+3
-28
lines changed

1 file changed

+3
-28
lines changed

constants/supportedTransforms.js

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
module.exports = {
1+
export default {
22
"height": "h",
33
"width": "w",
44
"aspectRatio": "ar",
5-
"padResizeCrop": "cm-pad_resize",
6-
"forcedCrop": "c-force",
7-
"maxSizeCrop": "c-at_max",
8-
"minSizeCrop": "c-at_least",
9-
"maintainRatioCrop": "c-maintain_ratio",
10-
"extractCrop": "cm-extract",
11-
"padExtractCrop": "cm-pad_extract",
12-
"autoSmartCrop": "fo-auto",
13-
"faceCrop": "fo-face",
14-
"focusCustom": "fo-custom",
15-
"xc": "xc",
16-
"yc": "yc",
175
"quality": "q",
186
"crop": "c",
197
"cropMode": "cm",
@@ -25,6 +13,7 @@ module.exports = {
2513
"background": "bg",
2614
"border": "b",
2715
"rotation": "rt",
16+
"rotate": "rt",
2817
"blur": "bl",
2918
"named": "n",
3019
"overlayImage": "oi",
@@ -34,6 +23,7 @@ module.exports = {
3423
"overlayImageDPR": "oidpr",
3524
"overlayImageQuality": "oiq",
3625
"overlayImageCropping": "oic",
26+
"overlayImageFocus": "oifo",
3727
"overlayImageTrim": "oit",
3828
"overlayX": "ox",
3929
"overlayY": "oy",
@@ -54,21 +44,6 @@ module.exports = {
5444
"overlayTextPadding": "otp",
5545
"overlayTextInnerAlignment": "otia",
5646
"overlayRadius": "or",
57-
"overlayMinSizeCrop": "oic-at_least",
58-
"overlayMaxSizeCrop": "oic-at_max",
59-
"overlayForcedCrop": "oic-force",
60-
"overlayMaintainRatioCrop": "oic-maintain_ratio",
61-
"overlayExtractCrop": "oicm-extract",
62-
"overlayPadExtractCrop": "oicm-pad_extract",
63-
"overlayPadResizeCrop": "oicm-pad_resize",
64-
"overlayFocusCrop": "oifo",
65-
"overlayAutoSmartCrop": "oifo-auto",
66-
"overlayFocusCustom": "oifo-custom",
67-
"overlayFaceCrop": "oifo-face",
68-
"oixc": "oixc",
69-
"oiyc": "oiyc",
70-
"oix": "oix",
71-
"oiy": "oiy",
7247
"progressive": "pr",
7348
"lossless": "lo",
7449
"trim": "t",

0 commit comments

Comments
 (0)