imgix-rails 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 633c3e0220a49850cb94df32e86fef34efe3f56c
4
- data.tar.gz: 522d0bfa5a0d2ae72931b67d905e773ec0e7ba9a
3
+ metadata.gz: 306dac4865fab9184761f142d5daf2b9d25997d7
4
+ data.tar.gz: b92a0db152ef14569cc5740afa68e5fcaef2bf47
5
5
  SHA512:
6
- metadata.gz: c0ffe1d93295403d4c214369060aabc34fbf4e800e077954271c025deb8ae129bac7c304f5092f2eba4ec19600da605d7926b6bcd209a855560cbf60bc76c387
7
- data.tar.gz: 602ba9fce38ba0976ab3e3e106aadc4418714b8139bebe4f2a7247fcf6771a7ba3394e67951530ce908dbe0e6b244e5ee687ae67baad81265f13db32f25ba695
6
+ metadata.gz: 9d6386bd51b1f8bbedea03ca2d397b115b74fea3cc7d8273c114bb3790557011a17526d462e6d2c48d7f71a1575c8a4ad97b02460e187e627a792351ac67994d
7
+ data.tar.gz: 66ced9282a5136977b30be7ad62dc39e6c492293a4d5b68d43905b5a05237d0c12afcd8e7916015bc3931a063a1175ac9ab560e5a4db1230267847fb46462e44
@@ -1,5 +1,5 @@
1
1
  module Imgix
2
2
  module Rails
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -3,11 +3,15 @@
3
3
  "auto": {
4
4
  "display_name": "auto features",
5
5
  "category": "automatic",
6
- "expects": "list",
7
- "possible_values": [
8
- "enhance",
9
- "format",
10
- "redeye"
6
+ "expects": [
7
+ {
8
+ "type": "list",
9
+ "possible_values": [
10
+ "enhance",
11
+ "format",
12
+ "redeye"
13
+ ]
14
+ }
11
15
  ],
12
16
  "url": "https://www.imgix.com/docs/reference/automatic#param-auto",
13
17
  "short_description": "Applies automatic enhancements to images."
@@ -15,13 +19,18 @@
15
19
  "ba": {
16
20
  "display_name": "blend align",
17
21
  "category": "blend",
18
- "expects": "list",
19
- "possible_values": [
20
- "top",
21
- "bottom",
22
- "left",
23
- "right",
24
- "middle"
22
+ "expects": [
23
+ {
24
+ "type": "list",
25
+ "possible_values": [
26
+ "top",
27
+ "bottom",
28
+ "middle",
29
+ "left",
30
+ "right",
31
+ "center"
32
+ ]
33
+ }
25
34
  ],
26
35
  "depends": [
27
36
  "blend"
@@ -32,10 +41,14 @@
32
41
  "balph": {
33
42
  "display_name": "blend alpha",
34
43
  "category": "blend",
35
- "expects": "number",
44
+ "expects": [
45
+ {
46
+ "type": "number",
47
+ "min": 0,
48
+ "max": 100
49
+ }
50
+ ],
36
51
  "default": 100,
37
- "min": 0,
38
- "max": 100,
39
52
  "depends": [
40
53
  "blend"
41
54
  ],
@@ -45,13 +58,17 @@
45
58
  "bc": {
46
59
  "display_name": "blend crop",
47
60
  "category": "blend",
48
- "expects": "list",
49
- "possible_values": [
50
- "top",
51
- "bottom",
52
- "left",
53
- "right",
54
- "faces"
61
+ "expects": [
62
+ {
63
+ "type": "list",
64
+ "possible_values": [
65
+ "top",
66
+ "bottom",
67
+ "left",
68
+ "right",
69
+ "faces"
70
+ ]
71
+ }
55
72
  ],
56
73
  "depends": [
57
74
  "blend"
@@ -62,15 +79,19 @@
62
79
  "bf": {
63
80
  "display_name": "blend fit",
64
81
  "category": "blend",
65
- "expects": "string",
66
- "default": "clip",
67
- "possible_values": [
68
- "clamp",
69
- "clip",
70
- "crop",
71
- "scale",
72
- "max"
82
+ "expects": [
83
+ {
84
+ "type": "string",
85
+ "possible_values": [
86
+ "clamp",
87
+ "clip",
88
+ "crop",
89
+ "scale",
90
+ "max"
91
+ ]
92
+ }
73
93
  ],
94
+ "default": "clip",
74
95
  "depends": [
75
96
  "blend"
76
97
  ],
@@ -80,7 +101,11 @@
80
101
  "bg": {
81
102
  "display_name": "background color",
82
103
  "category": "background",
83
- "expects": "hex_color",
104
+ "expects": [
105
+ {
106
+ "type": "hex_color"
107
+ }
108
+ ],
84
109
  "default": "fff",
85
110
  "url": "https://www.imgix.com/docs/reference/background#param-bg",
86
111
  "short_description": "Colors the background of padded images."
@@ -88,8 +113,12 @@
88
113
  "bh": {
89
114
  "display_name": "blend height",
90
115
  "category": "blend",
91
- "expects": "number",
92
- "min": 0,
116
+ "expects": [
117
+ {
118
+ "type": "number",
119
+ "min": 0
120
+ }
121
+ ],
93
122
  "depends": [
94
123
  "blend"
95
124
  ],
@@ -100,8 +129,12 @@
100
129
  "display_name": "blend",
101
130
  "category": "blend",
102
131
  "expects": [
103
- "hex_color",
104
- "url"
132
+ {
133
+ "type": "hex_color"
134
+ },
135
+ {
136
+ "type": "url"
137
+ }
105
138
  ],
106
139
  "url": "https://www.imgix.com/docs/reference/blend#param-blend",
107
140
  "short_description": "Specifies the location of the blend image."
@@ -109,35 +142,44 @@
109
142
  "blur": {
110
143
  "display_name": "blur",
111
144
  "category": "stylize",
112
- "expects": "number",
145
+ "expects": [
146
+ {
147
+ "type": "number",
148
+ "min": 0,
149
+ "max": 2000
150
+ }
151
+ ],
113
152
  "default": 0,
114
- "min": 0,
115
- "max": 2000,
116
153
  "url": "https://www.imgix.com/docs/reference/stylize#param-blur",
117
154
  "short_description": "Applies a gaussian blur to an image."
118
155
  },
119
156
  "bm": {
120
157
  "display_name": "blend mode",
121
158
  "category": "blend",
122
- "expects": "string",
123
- "default": "overlay",
124
- "possible_values": [
125
- "color",
126
- "burn",
127
- "dodge",
128
- "darken",
129
- "difference",
130
- "exclusion",
131
- "hardlight",
132
- "hue",
133
- "lighten",
134
- "luminosity",
135
- "multiply",
136
- "overlay",
137
- "saturation",
138
- "screen",
139
- "softlight"
159
+ "expects": [
160
+ {
161
+ "type": "string",
162
+ "possible_values": [
163
+ "color",
164
+ "burn",
165
+ "dodge",
166
+ "darken",
167
+ "difference",
168
+ "exclusion",
169
+ "hardlight",
170
+ "hue",
171
+ "lighten",
172
+ "luminosity",
173
+ "multiply",
174
+ "overlay",
175
+ "saturation",
176
+ "screen",
177
+ "softlight",
178
+ "normal"
179
+ ]
180
+ }
140
181
  ],
182
+ "default": "overlay",
141
183
  "depends": [
142
184
  "blend"
143
185
  ],
@@ -147,17 +189,32 @@
147
189
  "border": {
148
190
  "display_name": "border",
149
191
  "category": "border_and_padding",
150
- "expects": "list",
151
- "length": 2,
192
+ "expects": [
193
+ {
194
+ "0": {
195
+ "type": "integer",
196
+ "min": 0
197
+ },
198
+ "1": {
199
+ "type": "hex_color"
200
+ },
201
+ "type": "list",
202
+ "length": 2
203
+ }
204
+ ],
152
205
  "url": "https://www.imgix.com/docs/reference/border-padding#param-border",
153
206
  "short_description": "Applies a border to an image."
154
207
  },
155
208
  "bp": {
156
209
  "display_name": "blend padding",
157
210
  "category": "blend",
158
- "expects": "number",
211
+ "expects": [
212
+ {
213
+ "type": "number",
214
+ "min": 0
215
+ }
216
+ ],
159
217
  "default": 0,
160
- "min": 0,
161
218
  "depends": [
162
219
  "blend"
163
220
  ],
@@ -167,19 +224,27 @@
167
224
  "bri": {
168
225
  "display_name": "brightness",
169
226
  "category": "adjustment",
170
- "expects": "number",
227
+ "expects": [
228
+ {
229
+ "type": "number",
230
+ "min": -100,
231
+ "max": 100
232
+ }
233
+ ],
171
234
  "default": 0,
172
- "min": -100,
173
- "max": 100,
174
235
  "url": "https://www.imgix.com/docs/reference/adjustment#param-bri",
175
236
  "short_description": "Adjusts the brightness of the source image."
176
237
  },
177
238
  "bs": {
178
239
  "display_name": "blend size",
179
240
  "category": "blend",
180
- "expects": "string",
181
- "possible_values": [
182
- "inherit"
241
+ "expects": [
242
+ {
243
+ "type": "string",
244
+ "possible_values": [
245
+ "inherit"
246
+ ]
247
+ }
183
248
  ],
184
249
  "depends": [
185
250
  "blend"
@@ -190,8 +255,12 @@
190
255
  "bw": {
191
256
  "display_name": "blend width",
192
257
  "category": "blend",
193
- "expects": "number",
194
- "min": 0,
258
+ "expects": [
259
+ {
260
+ "type": "number",
261
+ "min": 0
262
+ }
263
+ ],
195
264
  "depends": [
196
265
  "blend"
197
266
  ],
@@ -201,9 +270,13 @@
201
270
  "bx": {
202
271
  "display_name": "blend x",
203
272
  "category": "blend",
204
- "expects": "number",
273
+ "expects": [
274
+ {
275
+ "type": "number",
276
+ "min": 0
277
+ }
278
+ ],
205
279
  "default": 0,
206
- "min": 0,
207
280
  "depends": [
208
281
  "blend"
209
282
  ],
@@ -213,44 +286,74 @@
213
286
  "by": {
214
287
  "display_name": "blend y",
215
288
  "category": "blend",
216
- "expects": "number",
289
+ "expects": [
290
+ {
291
+ "type": "number",
292
+ "min": 0
293
+ }
294
+ ],
217
295
  "default": 0,
218
- "min": 0,
219
296
  "depends": [
220
297
  "blend"
221
298
  ],
222
299
  "url": "https://www.imgix.com/docs/reference/blend#param-blendy",
223
300
  "short_description": "Adjusts the y-offset of the blend image relative to its parent."
224
301
  },
302
+ "ch": {
303
+ "display_name": "client-hints",
304
+ "category": "format",
305
+ "expects": [
306
+ {
307
+ "type": "list",
308
+ "possible_values": [
309
+ "width",
310
+ "dpr"
311
+ ]
312
+ }
313
+ ],
314
+ "short_description": "Sets one or more Client-Hints headers"
315
+ },
225
316
  "chromasub": {
226
317
  "display_name": "chroma subsampling",
227
318
  "category": "format",
228
- "expects": "integer",
229
- "default": 420,
230
- "possible_values": [
231
- 444,
232
- 422,
233
- 420
319
+ "expects": [
320
+ {
321
+ "type": "integer",
322
+ "possible_values": [
323
+ 444,
324
+ 422,
325
+ 420
326
+ ]
327
+ }
234
328
  ],
329
+ "default": 420,
235
330
  "url": "https://www.imgix.com/docs/reference/format#param-chromasub",
236
331
  "short_description": "Specifies the output chroma subsampling rate."
237
332
  },
238
333
  "colorquant": {
239
334
  "display_name": "color quantization",
240
335
  "category": "format",
241
- "expects": "integer",
242
- "min": 2,
243
- "max": 256,
336
+ "expects": [
337
+ {
338
+ "type": "integer",
339
+ "min": 2,
340
+ "max": 256
341
+ }
342
+ ],
244
343
  "url": "https://www.imgix.com/docs/reference/format#param-colorquant",
245
344
  "short_description": "Limits the number of unique colors in an image."
246
345
  },
247
346
  "colors": {
248
347
  "display_name": "color count",
249
348
  "category": "palette",
250
- "expects": "integer",
349
+ "expects": [
350
+ {
351
+ "type": "integer",
352
+ "min": 0,
353
+ "max": 16
354
+ }
355
+ ],
251
356
  "default": 6,
252
- "min": 0,
253
- "max": 16,
254
357
  "depends": [
255
358
  "palette"
256
359
  ],
@@ -260,23 +363,32 @@
260
363
  "con": {
261
364
  "display_name": "contrast",
262
365
  "category": "adjustment",
263
- "expects": "number",
366
+ "expects": [
367
+ {
368
+ "type": "number",
369
+ "min": -100,
370
+ "max": 100
371
+ }
372
+ ],
264
373
  "default": 0,
265
- "min": -100,
266
- "max": 100,
267
374
  "url": "https://www.imgix.com/docs/reference/adjustment#param-con",
268
375
  "short_description": "Adjusts the contrast of the source image."
269
376
  },
270
377
  "crop": {
271
378
  "display_name": "crop mode",
272
379
  "category": "size",
273
- "expects": "list",
274
- "possible_values": [
275
- "top",
276
- "bottom",
277
- "left",
278
- "right",
279
- "faces"
380
+ "expects": [
381
+ {
382
+ "type": "list",
383
+ "possible_values": [
384
+ "top",
385
+ "bottom",
386
+ "left",
387
+ "right",
388
+ "faces",
389
+ "entropy"
390
+ ]
391
+ }
280
392
  ],
281
393
  "depends": [
282
394
  "fit=crop"
@@ -287,72 +399,134 @@
287
399
  "cs": {
288
400
  "display_name": "colorspace",
289
401
  "category": "format",
290
- "expects": "string",
291
- "possible_values": [
292
- "srgb",
293
- "adobergb1998"
402
+ "expects": [
403
+ {
404
+ "type": "string",
405
+ "possible_values": [
406
+ "srgb",
407
+ "adobergb1998"
408
+ ]
409
+ }
294
410
  ],
295
411
  "short_description": "Specifies the color space of the output image."
296
412
  },
297
413
  "dl": {
298
414
  "display_name": "download",
299
415
  "category": "format",
300
- "expects": "string",
301
- "url": "https://www.imgix.com/docs/reference/format#param-dl",
302
- "short_description": "Marks a URL should use send-file to deliver its response."
416
+ "expects": [
417
+ {
418
+ "type": "string"
419
+ }
420
+ ],
421
+ "url": "https://www.imgix.com/docs/reference/format#param-download",
422
+ "short_description": "Forces a URL to use send-file in its response."
423
+ },
424
+ "dpi": {
425
+ "display_name": "dots per inch",
426
+ "category": "format",
427
+ "expects": [
428
+ {
429
+ "type": "number"
430
+ }
431
+ ],
432
+ "url": "https://www.imgix.com/docs/reference/format#param-dpi",
433
+ "short_description": "Sets the DPI value in the EXIF header."
303
434
  },
304
435
  "dpr": {
305
436
  "display_name": "device pixel ratio",
306
437
  "category": "pixel_density",
307
- "expects": "number",
438
+ "expects": [
439
+ {
440
+ "type": "number",
441
+ "min": 0.75,
442
+ "max": 8
443
+ }
444
+ ],
308
445
  "default": 1,
309
- "min": 0.75,
310
- "max": 8,
311
446
  "url": "https://www.imgix.com/docs/reference/pixeldensity#param-dpr",
312
447
  "short_description": "Adjusts the device-pixel-ratio of the output image."
313
448
  },
314
449
  "exp": {
315
450
  "display_name": "exposure",
316
451
  "category": "adjustment",
317
- "expects": "number",
452
+ "expects": [
453
+ {
454
+ "type": "number",
455
+ "min": -100,
456
+ "max": 100
457
+ }
458
+ ],
318
459
  "default": 0,
319
- "min": -100,
320
- "max": 100,
321
460
  "url": "https://www.imgix.com/docs/reference/adjustment#param-exp",
322
461
  "short_description": "Adjusts the exposure of the output image."
323
462
  },
324
463
  "faceindex": {
325
464
  "display_name": "face index",
326
465
  "category": "face_detection",
327
- "expects": "integer",
328
- "min": 1,
466
+ "expects": [
467
+ {
468
+ "type": "integer",
469
+ "min": 1
470
+ }
471
+ ],
472
+ "depends": [
473
+ "fit=facearea"
474
+ ],
329
475
  "url": "https://www.imgix.com/docs/reference/face-detection#param-faceindex",
330
476
  "short_description": "Selects a face to crop to."
331
477
  },
332
478
  "facepad": {
333
479
  "display_name": "face padding",
334
480
  "category": "face_detection",
335
- "expects": "number",
481
+ "expects": [
482
+ {
483
+ "type": "number",
484
+ "min": 0
485
+ }
486
+ ],
336
487
  "default": 1,
337
- "min": 0,
488
+ "depends": [
489
+ "fit=facearea"
490
+ ],
338
491
  "url": "https://www.imgix.com/docs/reference/face-detection#param-facepad",
339
492
  "short_description": "Adjusts padding around a selected face."
340
493
  },
494
+ "faces": {
495
+ "display_name": "faces",
496
+ "category": "face_detection",
497
+ "expects": [
498
+ {
499
+ "type": "integer",
500
+ "possible_values": [
501
+ 1
502
+ ]
503
+ }
504
+ ],
505
+ "depends": [
506
+ "fm=json"
507
+ ],
508
+ "url": "https://www.imgix.com/docs/reference/face-detection#param-faces",
509
+ "short_description": "Specifies that face data should be included in output when combined with `fm=json`."
510
+ },
341
511
  "fit": {
342
512
  "display_name": "fit mode",
343
513
  "category": "size",
344
- "expects": "string",
345
- "default": "clip",
346
- "possible_values": [
347
- "clamp",
348
- "clip",
349
- "crop",
350
- "facearea",
351
- "fill",
352
- "max",
353
- "min",
354
- "scale"
514
+ "expects": [
515
+ {
516
+ "type": "string",
517
+ "possible_values": [
518
+ "clamp",
519
+ "clip",
520
+ "crop",
521
+ "facearea",
522
+ "fill",
523
+ "max",
524
+ "min",
525
+ "scale"
526
+ ]
527
+ }
355
528
  ],
529
+ "default": "clip",
356
530
  "aliases": [
357
531
  "f"
358
532
  ],
@@ -362,11 +536,15 @@
362
536
  "flip": {
363
537
  "display_name": "flip direction",
364
538
  "category": "rotation",
365
- "expects": "string",
366
- "possible_values": [
367
- "h",
368
- "v",
369
- "hv"
539
+ "expects": [
540
+ {
541
+ "type": "string",
542
+ "possible_values": [
543
+ "h",
544
+ "v",
545
+ "hv"
546
+ ]
547
+ }
370
548
  ],
371
549
  "url": "https://www.imgix.com/docs/reference/rotation#param-flip",
372
550
  "short_description": "Flips an image on a specified axis."
@@ -374,19 +552,23 @@
374
552
  "fm": {
375
553
  "display_name": "output format",
376
554
  "category": "format",
377
- "expects": "string",
378
- "possible_values": [
379
- "gif",
380
- "jpg",
381
- "jp2",
382
- "json",
383
- "jxr",
384
- "pjpg",
385
- "mp4",
386
- "png",
387
- "png8",
388
- "png32",
389
- "webp"
555
+ "expects": [
556
+ {
557
+ "type": "string",
558
+ "possible_values": [
559
+ "gif",
560
+ "jpg",
561
+ "jp2",
562
+ "json",
563
+ "jxr",
564
+ "pjpg",
565
+ "mp4",
566
+ "png",
567
+ "png8",
568
+ "png32",
569
+ "webp"
570
+ ]
571
+ }
390
572
  ],
391
573
  "url": "https://www.imgix.com/docs/reference/format#param-fm",
392
574
  "short_description": "Changes the format of the output image."
@@ -394,10 +576,14 @@
394
576
  "gam": {
395
577
  "display_name": "gamma",
396
578
  "category": "adjustment",
397
- "expects": "number",
579
+ "expects": [
580
+ {
581
+ "type": "number",
582
+ "min": -100,
583
+ "max": 100
584
+ }
585
+ ],
398
586
  "default": 0,
399
- "min": -100,
400
- "max": 100,
401
587
  "url": "https://www.imgix.com/docs/reference/adjustment#param-gam",
402
588
  "short_description": "Adjusts the gamma of the source image."
403
589
  },
@@ -405,8 +591,12 @@
405
591
  "display_name": "height",
406
592
  "category": "size",
407
593
  "expects": [
408
- "number",
409
- "unit_scalar"
594
+ {
595
+ "type": "number"
596
+ },
597
+ {
598
+ "type": "unit_scalar"
599
+ }
410
600
  ],
411
601
  "url": "https://www.imgix.com/docs/reference/size#param-h",
412
602
  "short_description": "Adjusts the height of the output image."
@@ -414,39 +604,55 @@
414
604
  "high": {
415
605
  "display_name": "high",
416
606
  "category": "adjustment",
417
- "expects": "number",
607
+ "expects": [
608
+ {
609
+ "type": "number",
610
+ "min": -100,
611
+ "max": 100
612
+ }
613
+ ],
418
614
  "default": 0,
419
- "min": -100,
420
- "max": 100,
421
615
  "url": "https://www.imgix.com/docs/reference/adjustment#param-high",
422
616
  "short_description": "Adjusts the highlights of the source image."
423
617
  },
424
618
  "htn": {
425
619
  "display_name": "halftone",
426
620
  "category": "stylize",
427
- "expects": "number",
621
+ "expects": [
622
+ {
623
+ "type": "number",
624
+ "min": 0,
625
+ "max": 100
626
+ }
627
+ ],
428
628
  "default": 0,
429
- "min": 0,
430
- "max": 100,
431
629
  "url": "https://www.imgix.com/docs/reference/stylize#param-htn",
432
630
  "short_description": "Applies a half-tone effect to the source image."
433
631
  },
434
632
  "hue": {
435
633
  "display_name": "hue shift",
436
634
  "category": "adjustment",
437
- "expects": "number",
635
+ "expects": [
636
+ {
637
+ "type": "number",
638
+ "min": 0,
639
+ "max": 360
640
+ }
641
+ ],
438
642
  "default": 0,
439
- "min": 0,
440
- "max": 360,
441
643
  "url": "https://www.imgix.com/docs/reference/adjustment#param-hue",
442
644
  "short_description": "Adjusts the hue of the source image."
443
645
  },
444
646
  "invert": {
445
647
  "display_name": "invert",
446
648
  "category": "adjustment",
447
- "expects": "string",
448
- "possible_values": [
449
- "true"
649
+ "expects": [
650
+ {
651
+ "type": "string",
652
+ "possible_values": [
653
+ "true"
654
+ ]
655
+ }
450
656
  ],
451
657
  "url": "https://www.imgix.com/docs/reference/adjustment#param-invert",
452
658
  "short_description": "Inverts the colors on the source image."
@@ -454,11 +660,26 @@
454
660
  "lossless": {
455
661
  "display_name": "lossless",
456
662
  "category": "format",
457
- "expects": "integer",
458
- "default": 0,
459
- "possible_values": [
460
- 0,
461
- 1
663
+ "expects": [
664
+ {
665
+ "type": "integer",
666
+ "possible_values": [
667
+ 0,
668
+ 1
669
+ ]
670
+ },
671
+ {
672
+ "type": "string",
673
+ "possible_values": [
674
+ "false",
675
+ "true"
676
+ ]
677
+ }
678
+ ],
679
+ "default": "false",
680
+ "depends": [
681
+ "fm=webp",
682
+ "fm=jxr"
462
683
  ],
463
684
  "url": "https://www.imgix.com/docs/reference/format#param-fm",
464
685
  "short_description": "Specifies that the output image should be a lossless variant."
@@ -466,7 +687,11 @@
466
687
  "mark": {
467
688
  "display_name": "watermark image",
468
689
  "category": "watermark",
469
- "expects": "url",
690
+ "expects": [
691
+ {
692
+ "type": "url"
693
+ }
694
+ ],
470
695
  "aliases": [
471
696
  "m"
472
697
  ],
@@ -476,14 +701,18 @@
476
701
  "markalign": {
477
702
  "display_name": "watermark alignment mode",
478
703
  "category": "watermark",
479
- "expects": "list",
480
- "possible_values": [
481
- "top",
482
- "middle",
483
- "bottom",
484
- "left",
485
- "center",
486
- "right"
704
+ "expects": [
705
+ {
706
+ "type": "list",
707
+ "possible_values": [
708
+ "top",
709
+ "middle",
710
+ "bottom",
711
+ "left",
712
+ "center",
713
+ "right"
714
+ ]
715
+ }
487
716
  ],
488
717
  "aliases": [
489
718
  "ma"
@@ -497,10 +726,14 @@
497
726
  "markalpha": {
498
727
  "display_name": "watermark alpha",
499
728
  "category": "watermark",
500
- "expects": "integer",
729
+ "expects": [
730
+ {
731
+ "type": "integer",
732
+ "min": 0,
733
+ "max": 100
734
+ }
735
+ ],
501
736
  "default": 100,
502
- "min": 0,
503
- "max": 100,
504
737
  "depends": [
505
738
  "mark"
506
739
  ],
@@ -510,7 +743,11 @@
510
743
  "markbase": {
511
744
  "display_name": "watermark url base",
512
745
  "category": "watermark",
513
- "expects": "url",
746
+ "expects": [
747
+ {
748
+ "type": "url"
749
+ }
750
+ ],
514
751
  "aliases": [
515
752
  "mb"
516
753
  ],
@@ -522,15 +759,19 @@
522
759
  "markfit": {
523
760
  "display_name": "watermark fit mode",
524
761
  "category": "watermark",
525
- "expects": "string",
526
- "default": "clip",
527
- "possible_values": [
528
- "clip",
529
- "crop",
530
- "fill",
531
- "max",
532
- "scale"
762
+ "expects": [
763
+ {
764
+ "type": "string",
765
+ "possible_values": [
766
+ "clip",
767
+ "crop",
768
+ "fill",
769
+ "max",
770
+ "scale"
771
+ ]
772
+ }
533
773
  ],
774
+ "default": "clip",
534
775
  "aliases": [
535
776
  "mf"
536
777
  ],
@@ -546,8 +787,12 @@
546
787
  "display_name": "watermark height",
547
788
  "category": "watermark",
548
789
  "expects": [
549
- "number",
550
- "unit_scalar"
790
+ {
791
+ "type": "number"
792
+ },
793
+ {
794
+ "type": "unit_scalar"
795
+ }
551
796
  ],
552
797
  "aliases": [
553
798
  "mh"
@@ -561,7 +806,11 @@
561
806
  "markpad": {
562
807
  "display_name": "watermark padding",
563
808
  "category": "watermark",
564
- "expects": "number",
809
+ "expects": [
810
+ {
811
+ "type": "number"
812
+ }
813
+ ],
565
814
  "default": 10,
566
815
  "aliases": [
567
816
  "mp"
@@ -575,9 +824,13 @@
575
824
  "markscale": {
576
825
  "display_name": "watermark scale",
577
826
  "category": "watermark",
578
- "expects": "number",
579
- "min": 0,
580
- "max": 100,
827
+ "expects": [
828
+ {
829
+ "type": "number",
830
+ "min": 0,
831
+ "max": 100
832
+ }
833
+ ],
581
834
  "aliases": [
582
835
  "ms"
583
836
  ],
@@ -591,8 +844,12 @@
591
844
  "display_name": "watermark width",
592
845
  "category": "watermark",
593
846
  "expects": [
594
- "number",
595
- "unit_scalar"
847
+ {
848
+ "type": "number"
849
+ },
850
+ {
851
+ "type": "unit_scalar"
852
+ }
596
853
  ],
597
854
  "aliases": [
598
855
  "mw"
@@ -606,7 +863,11 @@
606
863
  "markx": {
607
864
  "display_name": "watermark x-position",
608
865
  "category": "watermark",
609
- "expects": "integer",
866
+ "expects": [
867
+ {
868
+ "type": "integer"
869
+ }
870
+ ],
610
871
  "aliases": [
611
872
  "mx"
612
873
  ],
@@ -619,7 +880,11 @@
619
880
  "marky": {
620
881
  "display_name": "watermark y-position",
621
882
  "category": "watermark",
622
- "expects": "integer",
883
+ "expects": [
884
+ {
885
+ "type": "integer"
886
+ }
887
+ ],
623
888
  "aliases": [
624
889
  "my"
625
890
  ],
@@ -633,11 +898,15 @@
633
898
  "display_name": "mask",
634
899
  "category": "mask",
635
900
  "expects": [
636
- "string",
637
- "url"
638
- ],
639
- "possible_values": [
640
- "ellipse"
901
+ {
902
+ "type": "string",
903
+ "possible_values": [
904
+ "ellipse"
905
+ ]
906
+ },
907
+ {
908
+ "type": "url"
909
+ }
641
910
  ],
642
911
  "url": "https://www.imgix.com/docs/reference/mask#param-mask",
643
912
  "short_description": "Specifies the location of the mask image."
@@ -645,7 +914,11 @@
645
914
  "mono": {
646
915
  "display_name": "monochrome",
647
916
  "category": "stylize",
648
- "expects": "hex_color",
917
+ "expects": [
918
+ {
919
+ "type": "hex_color"
920
+ }
921
+ ],
649
922
  "aliases": [
650
923
  "monochrome"
651
924
  ],
@@ -655,40 +928,52 @@
655
928
  "nr": {
656
929
  "display_name": "noise blur",
657
930
  "category": "noise",
658
- "expects": "number",
931
+ "expects": [
932
+ {
933
+ "type": "number",
934
+ "min": -100,
935
+ "max": 100
936
+ }
937
+ ],
659
938
  "default": 20,
660
- "min": -100,
661
- "max": 100,
662
939
  "url": "https://www.imgix.com/docs/reference/noise#param-nr",
663
940
  "short_description": "Reduces the noise in an image."
664
941
  },
665
942
  "nrs": {
666
943
  "display_name": "noise sharpen",
667
944
  "category": "noise",
668
- "expects": "number",
945
+ "expects": [
946
+ {
947
+ "type": "number",
948
+ "min": -100,
949
+ "max": 100
950
+ }
951
+ ],
669
952
  "default": 20,
670
- "min": -100,
671
- "max": 100,
672
953
  "url": "https://www.imgix.com/docs/reference/noise#param-nrs",
673
954
  "short_description": "Provides a threshold by which to sharpen an image."
674
955
  },
675
956
  "or": {
676
957
  "display_name": "orientation",
677
958
  "category": "rotation",
678
- "expects": "integer",
679
- "possible_values": [
680
- 0,
681
- 1,
682
- 2,
683
- 3,
684
- 4,
685
- 5,
686
- 6,
687
- 7,
688
- 8,
689
- 90,
690
- 180,
691
- 270
959
+ "expects": [
960
+ {
961
+ "type": "integer",
962
+ "possible_values": [
963
+ 0,
964
+ 1,
965
+ 2,
966
+ 3,
967
+ 4,
968
+ 5,
969
+ 6,
970
+ 7,
971
+ 8,
972
+ 90,
973
+ 180,
974
+ 270
975
+ ]
976
+ }
692
977
  ],
693
978
  "aliases": [
694
979
  "orient"
@@ -699,28 +984,40 @@
699
984
  "pad": {
700
985
  "display_name": "padding",
701
986
  "category": "border_and_padding",
702
- "expects": "integer",
987
+ "expects": [
988
+ {
989
+ "type": "integer",
990
+ "min": 0
991
+ }
992
+ ],
703
993
  "default": 0,
704
- "min": 0,
705
994
  "url": "https://www.imgix.com/docs/reference/border-padding#param-pad",
706
995
  "short_description": "Pads an image."
707
996
  },
708
997
  "page": {
709
998
  "display_name": "pdf page number",
710
999
  "category": "pdf",
711
- "expects": "integer",
1000
+ "expects": [
1001
+ {
1002
+ "type": "integer",
1003
+ "min": 1
1004
+ }
1005
+ ],
712
1006
  "default": 1,
713
- "min": 1,
714
1007
  "url": "https://www.imgix.com/docs/reference/pdf#param-page",
715
1008
  "short_description": "Selects a page from a PDF for display."
716
1009
  },
717
1010
  "palette": {
718
1011
  "display_name": "palette extraction",
719
1012
  "category": "palette",
720
- "expects": "string",
721
- "possible_values": [
722
- "css",
723
- "json"
1013
+ "expects": [
1014
+ {
1015
+ "type": "string",
1016
+ "possible_values": [
1017
+ "css",
1018
+ "json"
1019
+ ]
1020
+ }
724
1021
  ],
725
1022
  "url": "https://www.imgix.com/docs/reference/palette#param-palette",
726
1023
  "short_description": "Specifies an output format for palette-extraction."
@@ -728,7 +1025,11 @@
728
1025
  "prefix": {
729
1026
  "display_name": "css prefix",
730
1027
  "category": "palette",
731
- "expects": "string",
1028
+ "expects": [
1029
+ {
1030
+ "type": "string"
1031
+ }
1032
+ ],
732
1033
  "default": "image",
733
1034
  "depends": [
734
1035
  "palette=css"
@@ -739,20 +1040,28 @@
739
1040
  "px": {
740
1041
  "display_name": "pixellate",
741
1042
  "category": "stylize",
742
- "expects": "number",
1043
+ "expects": [
1044
+ {
1045
+ "type": "number",
1046
+ "min": 0,
1047
+ "max": 100
1048
+ }
1049
+ ],
743
1050
  "default": 0,
744
- "min": 0,
745
- "max": 100,
746
1051
  "url": "https://www.imgix.com/docs/reference/stylize#param-px",
747
1052
  "short_description": "Applies a pixelation effect to an image."
748
1053
  },
749
1054
  "q": {
750
1055
  "display_name": "output quality",
751
1056
  "category": "format",
752
- "expects": "number",
1057
+ "expects": [
1058
+ {
1059
+ "type": "number",
1060
+ "min": 0,
1061
+ "max": 100
1062
+ }
1063
+ ],
753
1064
  "default": 75,
754
- "min": 0,
755
- "max": 100,
756
1065
  "depends": [
757
1066
  "fm=jpg",
758
1067
  "fm=pjpg",
@@ -765,75 +1074,123 @@
765
1074
  "rect": {
766
1075
  "display_name": "crop rectangle",
767
1076
  "category": "size",
768
- "expects": "rectangle",
1077
+ "expects": [
1078
+ {
1079
+ "0": {
1080
+ "type": "number",
1081
+ "min": 0
1082
+ },
1083
+ "1": {
1084
+ "type": "number",
1085
+ "min": 0
1086
+ },
1087
+ "2": {
1088
+ "type": "number",
1089
+ "min": 0
1090
+ },
1091
+ "3": {
1092
+ "type": "number",
1093
+ "min": 0
1094
+ },
1095
+ "type": "list"
1096
+ }
1097
+ ],
769
1098
  "url": "https://www.imgix.com/docs/reference/size#param-rect",
770
1099
  "short_description": "Crops an image to a specified rectangle."
771
1100
  },
772
1101
  "rot": {
773
1102
  "display_name": "rotation angle",
774
1103
  "category": "rotation",
775
- "expects": "number",
1104
+ "expects": [
1105
+ {
1106
+ "type": "number",
1107
+ "min": 0,
1108
+ "max": 359
1109
+ }
1110
+ ],
776
1111
  "default": 0,
777
- "min": 0,
778
- "max": 359,
779
1112
  "url": "https://www.imgix.com/docs/reference/rotation#param-rot",
780
1113
  "short_description": "Rotates an image by a specified number of degrees."
781
1114
  },
782
1115
  "sat": {
783
1116
  "display_name": "saturation",
784
1117
  "category": "adjustment",
785
- "expects": "number",
1118
+ "expects": [
1119
+ {
1120
+ "type": "number",
1121
+ "min": -100,
1122
+ "max": 100
1123
+ }
1124
+ ],
786
1125
  "default": 0,
787
- "min": -100,
788
- "max": 100,
789
1126
  "url": "https://www.imgix.com/docs/reference/adjustment#param-sat",
790
1127
  "short_description": "Adjusts the saturation of an image."
791
1128
  },
792
1129
  "sepia": {
793
1130
  "display_name": "sepia",
794
1131
  "category": "stylize",
795
- "expects": "number",
1132
+ "expects": [
1133
+ {
1134
+ "type": "number",
1135
+ "min": 0,
1136
+ "max": 100
1137
+ }
1138
+ ],
796
1139
  "default": 0,
797
- "min": 0,
798
- "max": 100,
799
1140
  "url": "https://www.imgix.com/docs/reference/stylize#param-sepia",
800
1141
  "short_description": "Applies a sepia effect to an image."
801
1142
  },
802
1143
  "shad": {
803
1144
  "display_name": "shadow",
804
1145
  "category": "adjustment",
805
- "expects": "number",
1146
+ "expects": [
1147
+ {
1148
+ "type": "number",
1149
+ "min": -100,
1150
+ "max": 100
1151
+ }
1152
+ ],
806
1153
  "default": 0,
807
- "min": -100,
808
- "max": 100,
809
1154
  "url": "https://www.imgix.com/docs/reference/adjustment#param-shad",
810
1155
  "short_description": "Adjusts the highlights of the source image."
811
1156
  },
812
1157
  "sharp": {
813
1158
  "display_name": "sharpen",
814
1159
  "category": "adjustment",
815
- "expects": "number",
1160
+ "expects": [
1161
+ {
1162
+ "type": "number",
1163
+ "min": 0,
1164
+ "max": 100
1165
+ }
1166
+ ],
816
1167
  "default": 0,
817
- "min": 0,
818
- "max": 100,
819
1168
  "url": "https://www.imgix.com/docs/reference/adjustment#param-sharp",
820
1169
  "short_description": "Adjusts the sharpness of the source image."
821
1170
  },
822
1171
  "trim": {
823
1172
  "display_name": "trim mode",
824
1173
  "category": "trim",
825
- "expects": "string",
826
- "possible_values": [
827
- "auto",
828
- "color"
1174
+ "expects": [
1175
+ {
1176
+ "type": "string",
1177
+ "possible_values": [
1178
+ "auto",
1179
+ "color"
1180
+ ]
1181
+ }
829
1182
  ],
830
1183
  "url": "https://www.imgix.com/docs/reference/trim#param-trim",
831
1184
  "short_description": "Trims the source image."
832
1185
  },
833
- "trimcol": {
1186
+ "trimcolor": {
834
1187
  "display_name": "trim color",
835
1188
  "category": "trim",
836
- "expects": "hex_color",
1189
+ "expects": [
1190
+ {
1191
+ "type": "hex_color"
1192
+ }
1193
+ ],
837
1194
  "depends": [
838
1195
  "trim=color"
839
1196
  ],
@@ -843,7 +1200,11 @@
843
1200
  "trimmd": {
844
1201
  "display_name": "trim mean difference",
845
1202
  "category": "trim",
846
- "expects": "number",
1203
+ "expects": [
1204
+ {
1205
+ "type": "number"
1206
+ }
1207
+ ],
847
1208
  "default": 11,
848
1209
  "depends": [
849
1210
  "trim=auto"
@@ -854,7 +1215,11 @@
854
1215
  "trimsd": {
855
1216
  "display_name": "trim standard deviation",
856
1217
  "category": "trim",
857
- "expects": "number",
1218
+ "expects": [
1219
+ {
1220
+ "type": "number"
1221
+ }
1222
+ ],
858
1223
  "default": 10,
859
1224
  "depends": [
860
1225
  "trim=auto"
@@ -865,9 +1230,13 @@
865
1230
  "trimtol": {
866
1231
  "display_name": "trim tolerance",
867
1232
  "category": "trim",
868
- "expects": "number",
1233
+ "expects": [
1234
+ {
1235
+ "type": "number",
1236
+ "min": 0
1237
+ }
1238
+ ],
869
1239
  "default": 0,
870
- "min": 0,
871
1240
  "depends": [
872
1241
  "trim=color"
873
1242
  ],
@@ -877,7 +1246,11 @@
877
1246
  "txt": {
878
1247
  "display_name": "text",
879
1248
  "category": "text",
880
- "expects": "string",
1249
+ "expects": [
1250
+ {
1251
+ "type": "string"
1252
+ }
1253
+ ],
881
1254
  "aliases": [
882
1255
  "t"
883
1256
  ],
@@ -887,14 +1260,18 @@
887
1260
  "txtalign": {
888
1261
  "display_name": "text align",
889
1262
  "category": "text",
890
- "expects": "list",
891
- "possible_values": [
892
- "top",
893
- "middle",
894
- "bottom",
895
- "left",
896
- "center",
897
- "right"
1263
+ "expects": [
1264
+ {
1265
+ "type": "list",
1266
+ "possible_values": [
1267
+ "top",
1268
+ "middle",
1269
+ "bottom",
1270
+ "left",
1271
+ "center",
1272
+ "right"
1273
+ ]
1274
+ }
898
1275
  ],
899
1276
  "aliases": [
900
1277
  "ta"
@@ -908,12 +1285,20 @@
908
1285
  "txtclip": {
909
1286
  "display_name": "text clipping",
910
1287
  "category": "text",
911
- "expects": "string",
1288
+ "expects": [
1289
+ {
1290
+ "type": "string",
1291
+ "possible_values": [
1292
+ "start",
1293
+ "middle",
1294
+ "end",
1295
+ "ellipsis"
1296
+ ]
1297
+ }
1298
+ ],
912
1299
  "default": "end",
913
- "possible_values": [
914
- "start",
915
- "middle",
916
- "end"
1300
+ "aliases": [
1301
+ "tcl"
917
1302
  ],
918
1303
  "depends": [
919
1304
  "txt"
@@ -924,9 +1309,13 @@
924
1309
  "txtclr": {
925
1310
  "display_name": "text color",
926
1311
  "category": "text",
927
- "expects": "hex_color",
1312
+ "expects": [
1313
+ {
1314
+ "type": "hex_color"
1315
+ }
1316
+ ],
928
1317
  "aliases": [
929
- "txtclr",
1318
+ "txtcolor",
930
1319
  "tc"
931
1320
  ],
932
1321
  "depends": [
@@ -938,9 +1327,13 @@
938
1327
  "txtfit": {
939
1328
  "display_name": "text fit mode",
940
1329
  "category": "text",
941
- "expects": "string",
942
- "possible_values": [
943
- "max"
1330
+ "expects": [
1331
+ {
1332
+ "type": "string",
1333
+ "possible_values": [
1334
+ "max"
1335
+ ]
1336
+ }
944
1337
  ],
945
1338
  "depends": [
946
1339
  "txt"
@@ -951,7 +1344,11 @@
951
1344
  "txtfont": {
952
1345
  "display_name": "text font",
953
1346
  "category": "text",
954
- "expects": "list",
1347
+ "expects": [
1348
+ {
1349
+ "type": "list"
1350
+ }
1351
+ ],
955
1352
  "aliases": [
956
1353
  "tf"
957
1354
  ],
@@ -964,9 +1361,13 @@
964
1361
  "txtline": {
965
1362
  "display_name": "text outline",
966
1363
  "category": "text",
967
- "expects": "number",
1364
+ "expects": [
1365
+ {
1366
+ "type": "number",
1367
+ "min": 0
1368
+ }
1369
+ ],
968
1370
  "default": 0,
969
- "min": 0,
970
1371
  "aliases": [
971
1372
  "tl"
972
1373
  ],
@@ -979,8 +1380,15 @@
979
1380
  "txtlineclr": {
980
1381
  "display_name": "text outline color",
981
1382
  "category": "text",
982
- "expects": "hex_color",
1383
+ "expects": [
1384
+ {
1385
+ "type": "hex_color"
1386
+ }
1387
+ ],
983
1388
  "default": "FFF",
1389
+ "aliases": [
1390
+ "txtlinecolor"
1391
+ ],
984
1392
  "depends": [
985
1393
  "txt",
986
1394
  "txtline"
@@ -991,7 +1399,11 @@
991
1399
  "txtpad": {
992
1400
  "display_name": "text padding",
993
1401
  "category": "text",
994
- "expects": "number",
1402
+ "expects": [
1403
+ {
1404
+ "type": "number"
1405
+ }
1406
+ ],
995
1407
  "default": 10,
996
1408
  "aliases": [
997
1409
  "tp"
@@ -1005,7 +1417,11 @@
1005
1417
  "txtshad": {
1006
1418
  "display_name": "text shadow",
1007
1419
  "category": "text",
1008
- "expects": "number",
1420
+ "expects": [
1421
+ {
1422
+ "type": "number"
1423
+ }
1424
+ ],
1009
1425
  "default": 0,
1010
1426
  "aliases": [
1011
1427
  "tsh"
@@ -1019,9 +1435,13 @@
1019
1435
  "txtsize": {
1020
1436
  "display_name": "text font size",
1021
1437
  "category": "text",
1022
- "expects": "number",
1438
+ "expects": [
1439
+ {
1440
+ "type": "number",
1441
+ "min": 0
1442
+ }
1443
+ ],
1023
1444
  "default": 12,
1024
- "min": 0,
1025
1445
  "aliases": [
1026
1446
  "tsz"
1027
1447
  ],
@@ -1034,8 +1454,12 @@
1034
1454
  "txtwidth": {
1035
1455
  "display_name": "text width",
1036
1456
  "category": "text",
1037
- "expects": "number",
1038
- "min": 0,
1457
+ "expects": [
1458
+ {
1459
+ "type": "number",
1460
+ "min": 0
1461
+ }
1462
+ ],
1039
1463
  "depends": [
1040
1464
  "txt"
1041
1465
  ],
@@ -1045,19 +1469,27 @@
1045
1469
  "usm": {
1046
1470
  "display_name": "unsharp mask",
1047
1471
  "category": "adjustment",
1048
- "expects": "number",
1472
+ "expects": [
1473
+ {
1474
+ "type": "number",
1475
+ "min": -100,
1476
+ "max": 100
1477
+ }
1478
+ ],
1049
1479
  "default": 0,
1050
- "min": -100,
1051
- "max": 100,
1052
1480
  "url": "https://www.imgix.com/docs/reference/adjustment#param-usm",
1053
1481
  "short_description": "Sharpens the source image using an unsharp mask."
1054
1482
  },
1055
1483
  "usmrad": {
1056
1484
  "display_name": "unsharp mask radius",
1057
1485
  "category": "adjustment",
1058
- "expects": "number",
1486
+ "expects": [
1487
+ {
1488
+ "type": "number",
1489
+ "min": 0
1490
+ }
1491
+ ],
1059
1492
  "default": 2.5,
1060
- "min": 0,
1061
1493
  "depends": [
1062
1494
  "usm"
1063
1495
  ],
@@ -1067,10 +1499,14 @@
1067
1499
  "vib": {
1068
1500
  "display_name": "vibrance",
1069
1501
  "category": "adjustment",
1070
- "expects": "number",
1502
+ "expects": [
1503
+ {
1504
+ "type": "number",
1505
+ "min": -100,
1506
+ "max": 100
1507
+ }
1508
+ ],
1071
1509
  "default": 0,
1072
- "min": -100,
1073
- "max": 100,
1074
1510
  "url": "https://www.imgix.com/docs/reference/adjustment#param-vib",
1075
1511
  "short_description": "Adjusts the vibrance an image."
1076
1512
  },
@@ -1078,8 +1514,12 @@
1078
1514
  "display_name": "width",
1079
1515
  "category": "size",
1080
1516
  "expects": [
1081
- "number",
1082
- "unit_scalar"
1517
+ {
1518
+ "type": "number"
1519
+ },
1520
+ {
1521
+ "type": "unit_scalar"
1522
+ }
1083
1523
  ],
1084
1524
  "url": "https://www.imgix.com/docs/reference/size#param-w",
1085
1525
  "short_description": "Adjusts the width of the output image."
@@ -1089,20 +1529,104 @@
1089
1529
  "class": {
1090
1530
  "display_name": "css class",
1091
1531
  "category": "palette",
1092
- "expects": "string",
1532
+ "expects": [
1533
+ {
1534
+ "type": "string"
1535
+ }
1536
+ ],
1537
+ "depends": [
1538
+ "palette=css"
1539
+ ],
1093
1540
  "deprecated": true,
1094
1541
  "url": "https://www.imgix.com/docs/reference/palette#param-colors",
1095
1542
  "short_description": "Specifies the CSS class to use for palette extraction."
1543
+ },
1544
+ "skin": {
1545
+ "display_name": "skin detection",
1546
+ "category": "misc",
1547
+ "expects": [
1548
+ {
1549
+ "type": "string",
1550
+ "possible_values": [
1551
+ "map"
1552
+ ]
1553
+ }
1554
+ ],
1555
+ "experimental": true,
1556
+ "deprecated": true
1096
1557
  }
1097
1558
  },
1098
1559
  "experimentalParameters": {
1560
+ "fps": {
1561
+ "display_name": "frames per second",
1562
+ "category": "animation",
1563
+ "expects": [
1564
+ {
1565
+ "type": "number"
1566
+ }
1567
+ ],
1568
+ "experimental": true,
1569
+ "short_description": "Specifies the framerate of the generated image."
1570
+ },
1571
+ "frame": {
1572
+ "display_name": "frame number",
1573
+ "category": "animation",
1574
+ "expects": [
1575
+ {
1576
+ "type": "integer",
1577
+ "min": 1
1578
+ }
1579
+ ],
1580
+ "experimental": true,
1581
+ "short_description": "Specifies the frame of an animated image to use."
1582
+ },
1583
+ "loop": {
1584
+ "display_name": "animation loop count",
1585
+ "category": "animation",
1586
+ "expects": [
1587
+ {
1588
+ "type": "integer",
1589
+ "min": 0
1590
+ }
1591
+ ],
1592
+ "default": 0,
1593
+ "experimental": true,
1594
+ "short_description": "Specifies the number of times an animated image should repeat. A value of 0 means infinite looping."
1595
+ },
1596
+ "reverse": {
1597
+ "display_name": "frame number",
1598
+ "category": "animation",
1599
+ "expects": [
1600
+ {
1601
+ "type": "integer",
1602
+ "possible_values": [
1603
+ 0,
1604
+ 1
1605
+ ]
1606
+ },
1607
+ {
1608
+ "type": "string",
1609
+ "possible_values": [
1610
+ "false",
1611
+ "true"
1612
+ ]
1613
+ }
1614
+ ],
1615
+ "default": "false",
1616
+ "experimental": true,
1617
+ "short_description": "Reverses the frame order on the source animation."
1618
+ },
1099
1619
  "rott": {
1100
1620
  "display_name": "rotation type",
1101
1621
  "category": "rotation",
1102
- "expects": "string",
1103
- "possible_values": [
1104
- "pivot",
1105
- "straighten"
1622
+ "expects": [
1623
+ {
1624
+ "type": "string",
1625
+ "possible_values": [
1626
+ "pivot",
1627
+ "straighten"
1628
+ ]
1629
+ }
1106
1630
  ],
1107
1631
  "experimental": true,
1108
1632
  "short_description": "Changes the rotation type."
@@ -1110,12 +1634,51 @@
1110
1634
  "skin": {
1111
1635
  "display_name": "skin detection",
1112
1636
  "category": "misc",
1113
- "expects": "string",
1114
- "possible_values": [
1115
- "map"
1637
+ "expects": [
1638
+ {
1639
+ "type": "string",
1640
+ "possible_values": [
1641
+ "map"
1642
+ ]
1643
+ }
1644
+ ],
1645
+ "experimental": true,
1646
+ "deprecated": true
1647
+ },
1648
+ "txtlead": {
1649
+ "display_name": "text leading",
1650
+ "category": "text",
1651
+ "expects": [
1652
+ {
1653
+ "type": "number",
1654
+ "min": 0
1655
+ }
1656
+ ],
1657
+ "default": 0,
1658
+ "depends": [
1659
+ "txt"
1660
+ ],
1661
+ "experimental": true,
1662
+ "short_description": "Sets the leading for rendered text. Only works on the multi-line text endpoint."
1663
+ },
1664
+ "txttrack": {
1665
+ "display_name": "text tracking",
1666
+ "category": "text",
1667
+ "expects": [
1668
+ {
1669
+ "type": "number",
1670
+ "min": -4
1671
+ }
1672
+ ],
1673
+ "default": 0,
1674
+ "aliases": [
1675
+ "tt"
1676
+ ],
1677
+ "depends": [
1678
+ "txt"
1116
1679
  ],
1117
1680
  "experimental": true,
1118
- "deprectated": true
1681
+ "short_description": "Sets the tracking for rendered text. Only works on the multi-line text endpoint."
1119
1682
  }
1120
1683
  },
1121
1684
  "aliases": {
@@ -1134,12 +1697,16 @@
1134
1697
  "orient": "or",
1135
1698
  "t": "txt",
1136
1699
  "ta": "txtalign",
1137
- "txtclr": "txtclr",
1700
+ "tcl": "txtclip",
1701
+ "txtcolor": "txtclr",
1138
1702
  "tc": "txtclr",
1139
1703
  "tf": "txtfont",
1140
1704
  "tl": "txtline",
1705
+ "txtlinecolor": "txtlineclr",
1141
1706
  "tp": "txtpad",
1142
1707
  "tsh": "txtshad",
1143
- "tsz": "txtsize"
1144
- }
1708
+ "tsz": "txtsize",
1709
+ "tt": "txttrack"
1710
+ },
1711
+ "version": "2.3.1"
1145
1712
  }