also looking at this
Feature not found exception
#74
2 files
+2440
-1
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -0,0 +1,2426 @@ | ||
| 1 | ||
| 2 | { | |
| 3 | "parameters": | |
| 4 | { | |
| 5 | "ar": { | |
| 6 | "display_name": "aspect ratio", | |
| 7 | "category": "size", | |
| 8 | "available_in": ["url"], | |
| 9 | "expects": [ | |
| 10 | { | |
| 11 | "type": "ratio", | |
| 12 | "strict_range": { | |
| 13 | "min": 0 | |
| 14 | } | |
| 15 | } | |
| 16 | ], | |
| 17 | "depends": ["fit=crop"], | |
| 18 | "url": "https://docs.imgix.com/apis/url/size/ar", | |
| 19 | "short_description": "Specifies an aspect ratio to maintain when resizing and cropping the image" | |
| 20 | }, | |
| 21 | "auto": { | |
| 22 | "display_name": "automatic", | |
| 23 | "category": "auto", | |
| 24 | "available_in": ["url"], | |
| 25 | "expects": [ | |
| 26 | { | |
| 27 | "type": "list", | |
| 28 | "possible_values": [ | |
| 29 | "enhance", | |
| 30 | "format", | |
| 31 | "redeye", | |
| 32 | "compress", | |
| 33 | "true" | |
| 34 | ] | |
| 35 | } | |
| 36 | ], | |
| 37 | "disallow_base64": true, | |
| 38 | "url": "https://docs.imgix.com/apis/url/auto", | |
| 39 | "short_description": "Applies automatic enhancements to images." | |
| 40 | }, | |
| 41 | "bg": { | |
| 42 | "display_name": "background color", | |
| 43 | "category": "fill", | |
| 44 | "available_in": ["url", "graph"], | |
| 45 | "expects": [ | |
| 46 | { | |
| 47 | "type": "hex_color" | |
| 48 | }, | |
| 49 | { | |
| 50 | "type": "color_keyword" | |
| 51 | } | |
| 52 | ], | |
| 53 | "default": "fff", | |
| 54 | "url": "https://docs.imgix.com/apis/url/bg", | |
| 55 | "short_description": "Colors the background of padded and partially-transparent images." | |
| 56 | }, | |
| 57 | "blend-align": { | |
| 58 | "display_name": "blend align", | |
| 59 | "category": "blending", | |
| 60 | "available_in": ["url"], | |
| 61 | "expects": [ | |
| 62 | { | |
| 63 | "type": "list", | |
| 64 | "possible_values": [ | |
| 65 | "top", | |
| 66 | "bottom", | |
| 67 | "middle", | |
| 68 | "left", | |
| 69 | "right", | |
| 70 | "center" | |
| 71 | ] | |
| 72 | } | |
| 73 | ], | |
| 74 | "aliases": ["blendalign", "ba"], | |
| 75 | "depends": ["blend"], | |
| 76 | "url": "https://docs.imgix.com/apis/url/blending/blend-align", | |
| 77 | "short_description": "Changes the blend alignment relative to the parent image." | |
| 78 | }, | |
| 79 | "blend-alpha": { | |
| 80 | "display_name": "blend alpha", | |
| 81 | "category": "blending", | |
| 82 | "available_in": ["url"], | |
| 83 | "expects": [ | |
| 84 | { | |
| 85 | "type": "integer", | |
| 86 | "strict_range": { | |
| 87 | "min": 0, | |
| 88 | "max": 100 | |
| 89 | } | |
| 90 | } | |
| 91 | ], | |
| 92 | "aliases": ["blendalpha", "balph"], | |
| 93 | "default": 100, | |
| 94 | "depends": ["blend"], | |
| 95 | "url": "https://docs.imgix.com/apis/url/blending/blend-alpha", | |
| 96 | "short_description": "Changes the alpha of the blend image." | |
| 97 | }, | |
| 98 | "blend-color": { | |
| 99 | "display_name": "blend color", | |
| 100 | "category": "blending", | |
| 101 | "available_in": ["url"], | |
| 102 | "expects": [ | |
| 103 | { | |
| 104 | "type": "hex_color" | |
| 105 | }, | |
| 106 | { | |
| 107 | "type": "color_keyword" | |
| 108 | } | |
| 109 | ], | |
| 110 | "aliases": ["blendcolor", "blend-clr", "blendclr"], | |
| 111 | "url": "https://docs.imgix.com/apis/url/blending/blend-color", | |
| 112 | "short_description": "Specifies a color to use when applying the blend." | |
| 113 | }, | |
| 114 | "blend-crop": { | |
| 115 | "display_name": "blend crop", | |
| 116 | "category": "blending", | |
| 117 | "available_in": ["url"], | |
| 118 | "expects": [ | |
| 119 | { | |
| 120 | "type": "list", | |
| 121 | "possible_values": [ | |
| 122 | "top", | |
| 123 | "bottom", | |
| 124 | "left", | |
| 125 | "right", | |
| 126 | "faces" | |
| 127 | ] | |
| 128 | } | |
| 129 | ], | |
| 130 | "aliases": ["blendcrop", "bc"], | |
| 131 | "depends": ["blend"], | |
| 132 | "url": "https://docs.imgix.com/apis/url/blending/blend-crop", | |
| 133 | "short_description": "Specifies the type of crop for blend images." | |
| 134 | }, | |
| 135 | "blend-fit": { | |
| 136 | "display_name": "blend fit", | |
| 137 | "category": "blending", | |
| 138 | "available_in": ["url"], | |
| 139 | "expects": [ | |
| 140 | { | |
| 141 | "type": "string", | |
| 142 | "possible_values": ["clamp", "clip", "crop", "scale", "max"] | |
| 143 | } | |
| 144 | ], | |
| 145 | "aliases": ["blendfit", "bf"], | |
| 146 | "default": "clip", | |
| 147 | "depends": ["blend"], | |
| 148 | "url": "https://docs.imgix.com/apis/url/blending/blend-fit", | |
| 149 | "short_description": "Specifies the fit mode for blend images." | |
| 150 | }, | |
| 151 | "blend-h": { | |
| 152 | "display_name": "blend height", | |
| 153 | "category": "blending", | |
| 154 | "available_in": ["url"], | |
| 155 | "expects": [ | |
| 156 | { | |
| 157 | "type": "integer", | |
| 158 | "strict_range": { | |
| 159 | "min": 2, | |
| 160 | "max": 8192 | |
| 161 | } | |
| 162 | }, | |
| 163 | { | |
| 164 | "type": "unit_scalar", | |
| 165 | "strict_range": { | |
| 166 | "min": 0, | |
| 167 | "max": 1 | |
| 168 | } | |
| 169 | } | |
| 170 | ], | |
| 171 | "aliases": ["blendh", "bh"], | |
| 172 | "depends": ["blend"], | |
| 173 | "url": "https://docs.imgix.com/apis/url/blending/blend-h", | |
| 174 | "short_description": "Adjusts the height of the blend image." | |
| 175 | }, | |
| 176 | "blend-mode": { | |
| 177 | "display_name": "blend mode", | |
| 178 | "category": "blending", | |
| 179 | "available_in": ["url"], | |
| 180 | "expects": [ | |
| 181 | { | |
| 182 | "type": "string", | |
| 183 | "possible_values": [ | |
| 184 | "color", | |
| 185 | "burn", | |
| 186 | "dodge", | |
| 187 | "darken", | |
| 188 | "difference", | |
| 189 | "exclusion", | |
| 190 | "hardlight", | |
| 191 | "hue", | |
| 192 | "lighten", | |
| 193 | "luminosity", | |
| 194 | "multiply", | |
| 195 | "overlay", | |
| 196 | "saturation", | |
| 197 | "screen", | |
| 198 | "softlight", | |
| 199 | "normal" | |
| 200 | ] | |
| 201 | } | |
| 202 | ], | |
| 203 | "aliases": ["blendmode", "bm"], | |
| 204 | "default": "overlay", | |
| 205 | "depends": ["blend"], | |
| 206 | "url": "https://docs.imgix.com/apis/url/blending/blend-mode", | |
| 207 | "short_description": "Sets the blend mode for a blend image." | |
| 208 | }, | |
| 209 | "blend-pad": { | |
| 210 | "display_name": "blend padding", | |
| 211 | "category": "blending", | |
| 212 | "available_in": ["url"], | |
| 213 | "expects": [ | |
| 214 | { | |
| 215 | "type": "integer", | |
| 216 | "suggested_range": { | |
| 217 | "min": 0 | |
| 218 | } | |
| 219 | } | |
| 220 | ], | |
| 221 | "aliases": ["blendpad", "bp"], | |
| 222 | "default": 0, | |
| 223 | "depends": ["blend"], | |
| 224 | "url": "https://docs.imgix.com/apis/url/blending/blend-pad", | |
| 225 | "short_description": "Applies padding to the blend image." | |
| 226 | }, | |
| 227 | "blend-size": { | |
| 228 | "display_name": "blend size", | |
| 229 | "category": "blending", | |
| 230 | "available_in": ["url"], | |
| 231 | "expects": [ | |
| 232 | { | |
| 233 | "type": "string", | |
| 234 | "possible_values": ["inherit"] | |
| 235 | } | |
| 236 | ], | |
| 237 | "aliases": ["blendsize", "bs"], | |
| 238 | "depends": ["blend"], | |
| 239 | "url": "https://docs.imgix.com/apis/url/blending/blend-size", | |
| 240 | "short_description": "Adjusts the size of the blend image." | |
| 241 | }, | |
| 242 | "blend-w": { | |
| 243 | "display_name": "blend width", | |
| 244 | "category": "blending", | |
| 245 | "available_in": ["url"], | |
| 246 | "expects": [ | |
| 247 | { | |
| 248 | "type": "integer", | |
| 249 | "strict_range": { | |
| 250 | "min": 2, | |
| 251 | "max": 8192 | |
| 252 | } | |
| 253 | }, | |
| 254 | { | |
| 255 | "type": "unit_scalar", | |
| 256 | "strict_range": { | |
| 257 | "min": 0, | |
| 258 | "max": 1 | |
| 259 | } | |
| 260 | } | |
| 261 | ], | |
| 262 | "aliases": ["blendw", "bw"], | |
| 263 | "depends": ["blend"], | |
| 264 | "url": "https://docs.imgix.com/apis/url/blending/blend-w", | |
| 265 | "short_description": "Adjusts the width of the blend image." | |
| 266 | }, | |
| 267 | "blend-x": { | |
| 268 | "display_name": "blend x position", | |
| 269 | "category": "blending", | |
| 270 | "available_in": ["url"], | |
| 271 | "expects": [ | |
| 272 | { | |
| 273 | "type": "integer", | |
| 274 | "suggested_range": { | |
| 275 | "min": 0 | |
| 276 | } | |
| 277 | } | |
| 278 | ], | |
| 279 | "aliases": ["blendx", "bx"], | |
| 280 | "default": 0, | |
| 281 | "depends": ["blend"], | |
| 282 | "url": "https://docs.imgix.com/apis/url/blending/blend-x", | |
| 283 | "short_description": "Adjusts the x-offset of the blend image relative to its parent." | |
| 284 | }, | |
| 285 | "blend-y": { | |
| 286 | "display_name": "blend y position", | |
| 287 | "category": "blending", | |
| 288 | "available_in": ["url"], | |
| 289 | "expects": [ | |
| 290 | { | |
| 291 | "type": "integer", | |
| 292 | "suggested_range": { | |
| 293 | "min": 0 | |
| 294 | } | |
| 295 | } | |
| 296 | ], | |
| 297 | "aliases": ["blendy", "by"], | |
| 298 | "default": 0, | |
| 299 | "depends": ["blend"], | |
| 300 | "url": "https://docs.imgix.com/apis/url/blending/blend-y", | |
| 301 | "short_description": "Adjusts the y-offset of the blend image relative to its parent." | |
| 302 | }, | |
| 303 | "blend": { | |
| 304 | "display_name": "blend", | |
| 305 | "category": "blending", | |
| 306 | "available_in": ["url"], | |
| 307 | "expects": [ | |
| 308 | { | |
| 309 | "type": "hex_color" | |
| 310 | }, | |
| 311 | { | |
| 312 | "type": "color_keyword" | |
| 313 | }, | |
| 314 | { | |
| 315 | "type": "url" | |
| 316 | }, | |
| 317 | { | |
| 318 | "type": "path" | |
| 319 | } | |
| 320 | ], | |
| 321 | "aliases": ["b"], | |
| 322 | "url": "https://docs.imgix.com/apis/url/blending/blend", | |
| 323 | "short_description": "Specifies the location of the blend image." | |
| 324 | }, | |
| 325 | "blur": { | |
| 326 | "display_name": "gaussian blur", | |
| 327 | "category": "stylize", | |
| 328 | "available_in": ["url", "graph"], | |
| 329 | "expects": [ | |
| 330 | { | |
| 331 | "type": "integer", | |
| 332 | "suggested_range": { | |
| 333 | "min": 0, | |
| 334 | "max": 2000 | |
| 335 | } | |
| 336 | } | |
| 337 | ], | |
| 338 | "default": 0, | |
| 339 | "url": "https://docs.imgix.com/apis/url/stylize/blur", | |
| 340 | "short_description": "Applies a gaussian blur to an image." | |
| 341 | }, | |
| 342 | "border-bottom": { | |
| 343 | "display_name": "border bottom", | |
| 344 | "category": "border-and-padding", | |
| 345 | "available_in": ["url"], | |
| 346 | "expects": [ | |
| 347 | { | |
| 348 | "type": "integer", | |
| 349 | "suggested_range": { | |
| 350 | "min": 0, | |
| 351 | "max": 100 | |
| 352 | } | |
| 353 | } | |
| 354 | ], | |
| 355 | "depends": ["border"], | |
| 356 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border-bottom", | |
| 357 | "short_description": "Sets bottom border of an image." | |
| 358 | }, | |
| 359 | "border-left": { | |
| 360 | "display_name": "border left", | |
| 361 | "category": "border-and-padding", | |
| 362 | "available_in": ["url"], | |
| 363 | "expects": [ | |
| 364 | { | |
| 365 | "type": "integer", | |
| 366 | "suggested_range": { | |
| 367 | "min": 0, | |
| 368 | "max": 100 | |
| 369 | } | |
| 370 | } | |
| 371 | ], | |
| 372 | "depends": ["border"], | |
| 373 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border-left", | |
| 374 | "short_description": "Sets left border of an image." | |
| 375 | }, | |
| 376 | "border-radius-inner": { | |
| 377 | "display_name": "inner border radius", | |
| 378 | "category": "border-and-padding", | |
| 379 | "available_in": ["url", "graph"], | |
| 380 | "expects": [ | |
| 381 | { | |
| 382 | "type": "integer", | |
| 383 | "strict_range": { | |
| 384 | "min": 0 | |
| 385 | } | |
| 386 | }, | |
| 387 | { | |
| 388 | "0": [ | |
| 389 | { | |
| 390 | "type": "integer", | |
| 391 | "strict_range": { | |
| 392 | "min": 0 | |
| 393 | } | |
| 394 | } | |
| 395 | ], | |
| 396 | "1": [ | |
| 397 | { | |
| 398 | "type": "integer", | |
| 399 | "strict_range": { | |
| 400 | "min": 0 | |
| 401 | } | |
| 402 | } | |
| 403 | ], | |
| 404 | "2": [ | |
| 405 | { | |
| 406 | "type": "integer", | |
| 407 | "strict_range": { | |
| 408 | "min": 0 | |
| 409 | } | |
| 410 | } | |
| 411 | ], | |
| 412 | "3": [ | |
| 413 | { | |
| 414 | "type": "integer", | |
| 415 | "strict_range": { | |
| 416 | "min": 0 | |
| 417 | } | |
| 418 | } | |
| 419 | ], | |
| 420 | "type": "list", | |
| 421 | "length": 4 | |
| 422 | } | |
| 423 | ], | |
| 424 | "depends": ["border"], | |
| 425 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border-radius-inner", | |
| 426 | "short_description": "Sets the inner radius of the image's border in pixels." | |
| 427 | }, | |
| 428 | "border-radius": { | |
| 429 | "display_name": "outer border radius", | |
| 430 | "category": "border-and-padding", | |
| 431 | "available_in": ["url", "graph"], | |
| 432 | "expects": [ | |
| 433 | { | |
| 434 | "type": "integer", | |
| 435 | "strict_range": { | |
| 436 | "min": 0 | |
| 437 | } | |
| 438 | }, | |
| 439 | { | |
| 440 | "0": [ | |
| 441 | { | |
| 442 | "type": "integer", | |
| 443 | "strict_range": { | |
| 444 | "min": 0 | |
| 445 | } | |
| 446 | } | |
| 447 | ], | |
| 448 | "1": [ | |
| 449 | { | |
| 450 | "type": "integer", | |
| 451 | "strict_range": { | |
| 452 | "min": 0 | |
| 453 | } | |
| 454 | } | |
| 455 | ], | |
| 456 | "2": [ | |
| 457 | { | |
| 458 | "type": "integer", | |
| 459 | "strict_range": { | |
| 460 | "min": 0 | |
| 461 | } | |
| 462 | } | |
| 463 | ], | |
| 464 | "3": [ | |
| 465 | { | |
| 466 | "type": "integer", | |
| 467 | "strict_range": { | |
| 468 | "min": 0 | |
| 469 | } | |
| 470 | } | |
| 471 | ], | |
| 472 | "type": "list", | |
| 473 | "length": 4 | |
| 474 | } | |
| 475 | ], | |
| 476 | "depends": ["border"], | |
| 477 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border-radius", | |
| 478 | "short_description": "Sets the outer radius of the image's border in pixels." | |
| 479 | }, | |
| 480 | "border-right": { | |
| 481 | "display_name": "border right", | |
| 482 | "category": "border-and-padding", | |
| 483 | "available_in": ["url"], | |
| 484 | "expects": [ | |
| 485 | { | |
| 486 | "type": "integer", | |
| 487 | "suggested_range": { | |
| 488 | "min": 0, | |
| 489 | "max": 100 | |
| 490 | } | |
| 491 | } | |
| 492 | ], | |
| 493 | "depends": ["border"], | |
| 494 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border-right", | |
| 495 | "short_description": "Sets right border of an image." | |
| 496 | }, | |
| 497 | "border-top": { | |
| 498 | "display_name": "border top", | |
| 499 | "category": "border-and-padding", | |
| 500 | "available_in": ["url"], | |
| 501 | "expects": [ | |
| 502 | { | |
| 503 | "type": "integer", | |
| 504 | "suggested_range": { | |
| 505 | "min": 0, | |
| 506 | "max": 100 | |
| 507 | } | |
| 508 | } | |
| 509 | ], | |
| 510 | "depends": ["border"], | |
| 511 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border-top", | |
| 512 | "short_description": "Sets top border of an image." | |
| 513 | }, | |
| 514 | "border": { | |
| 515 | "display_name": "border size & color", | |
| 516 | "category": "border-and-padding", | |
| 517 | "available_in": ["url", "graph"], | |
| 518 | "expects": [ | |
| 519 | { | |
| 520 | "0": [ | |
| 521 | { | |
| 522 | "type": "integer", | |
| 523 | "suggested_range": { | |
| 524 | "min": 1, | |
| 525 | "max": 100 | |
| 526 | } | |
| 527 | } | |
| 528 | ], | |
| 529 | "1": [ | |
| 530 | { | |
| 531 | "type": "hex_color" | |
| 532 | }, | |
| 533 | { | |
| 534 | "type": "color_keyword" | |
| 535 | } | |
| 536 | ], | |
| 537 | "type": "list", | |
| 538 | "length": 2 | |
| 539 | } | |
| 540 | ], | |
| 541 | "url": "https://docs.imgix.com/apis/url/border-and-padding/border", | |
| 542 | "short_description": "Applies a border to an image." | |
| 543 | }, | |
| 544 | "bri": { | |
| 545 | "display_name": "brightness", | |
| 546 | "category": "adjustment", | |
| 547 | "available_in": ["url", "graph"], | |
| 548 | "expects": [ | |
| 549 | { | |
| 550 | "type": "integer", | |
| 551 | "suggested_range": { | |
| 552 | "min": -100, | |
| 553 | "max": 100 | |
| 554 | } | |
| 555 | } | |
| 556 | ], | |
| 557 | "default": 0, | |
| 558 | "url": "https://docs.imgix.com/apis/url/adjustment/bri", | |
| 559 | "short_description": "Adjusts the brightness of the source image." | |
| 560 | }, | |
| 561 | "ch": { | |
| 562 | "display_name": "client hints", | |
| 563 | "category": "format", | |
| 564 | "available_in": ["url"], | |
| 565 | "expects": [ | |
| 566 | { | |
| 567 | "type": "list", | |
| 568 | "possible_values": ["width", "dpr", "save-data"] | |
| 569 | } | |
| 570 | ], | |
| 571 | "disallow_base64": true, | |
| 572 | "url": "https://docs.imgix.com/apis/url/format/ch", | |
| 573 | "short_description": "Sets one or more Client-Hints headers" | |
| 574 | }, | |
| 575 | "chromasub": { | |
| 576 | "display_name": "chroma subsampling", | |
| 577 | "category": "format", | |
| 578 | "available_in": ["url", "graph", "output"], | |
| 579 | "expects": [ | |
| 580 | { | |
| 581 | "type": "integer", | |
| 582 | "possible_values": [444, 422, 420] | |
| 583 | } | |
| 584 | ], | |
| 585 | "default": 420, | |
| 586 | "url": "https://docs.imgix.com/apis/url/format/chromasub", | |
| 587 | "short_description": "Specifies the output chroma subsampling rate." | |
| 588 | }, | |
| 589 | "colorquant": { | |
| 590 | "display_name": "color quantization", | |
| 591 | "category": "format", | |
| 592 | "available_in": ["url", "graph", "output"], | |
| 593 | "expects": [ | |
| 594 | { | |
| 595 | "type": "integer", | |
| 596 | "suggested_range": { | |
| 597 | "min": 2, | |
| 598 | "max": 256 | |
| 599 | } | |
| 600 | } | |
| 601 | ], | |
| 602 | "url": "https://docs.imgix.com/apis/url/format/colorquant", | |
| 603 | "short_description": "Limits the number of unique colors in an image." | |
| 604 | }, | |
| 605 | "colors": { | |
| 606 | "display_name": "palette color count", | |
| 607 | "category": "color-palette", | |
| 608 | "available_in": ["url", "output"], | |
| 609 | "expects": [ | |
| 610 | { | |
| 611 | "type": "integer", | |
| 612 | "suggested_range": { | |
| 613 | "min": 0, | |
| 614 | "max": 16 | |
| 615 | } | |
| 616 | } | |
| 617 | ], | |
| 618 | "default": 6, | |
| 619 | "depends": ["palette"], | |
| 620 | "url": "https://docs.imgix.com/apis/url/color-palette/colors", | |
| 621 | "short_description": "Specifies how many colors to include in a palette-extraction response." | |
| 622 | }, | |
| 623 | "con": { | |
| 624 | "display_name": "contrast", | |
| 625 | "category": "adjustment", | |
| 626 | "available_in": ["url", "graph"], | |
| 627 | "expects": [ | |
| 628 | { | |
| 629 | "type": "integer", | |
| 630 | "suggested_range": { | |
| 631 | "min": -100, | |
| 632 | "max": 100 | |
| 633 | } | |
| 634 | } | |
| 635 | ], | |
| 636 | "default": 0, | |
| 637 | "url": "https://docs.imgix.com/apis/url/adjustment/con", | |
| 638 | "short_description": "Adjusts the contrast of the source image." | |
| 639 | }, | |
| 640 | "corner-radius": { | |
| 641 | "display_name": "mask corner radius", | |
| 642 | "category": "mask", | |
| 643 | "available_in": ["url", "graph"], | |
| 644 | "expects": [ | |
| 645 | { | |
| 646 | "type": "integer", | |
| 647 | "strict_range": { | |
| 648 | "min": 0 | |
| 649 | } | |
| 650 | }, | |
| 651 | { | |
| 652 | "0": [ | |
| 653 | { | |
| 654 | "type": "integer", | |
| 655 | "strict_range": { | |
| 656 | "min": 0 | |
| 657 | } | |
| 658 | } | |
| 659 | ], | |
| 660 | "1": [ | |
| 661 | { | |
| 662 | "type": "integer", | |
| 663 | "strict_range": { | |
| 664 | "min": 0 | |
| 665 | } | |
| 666 | } | |
| 667 | ], | |
| 668 | "2": [ | |
| 669 | { | |
| 670 | "type": "integer", | |
| 671 | "strict_range": { | |
| 672 | "min": 0 | |
| 673 | } | |
| 674 | } | |
| 675 | ], | |
| 676 | "3": [ | |
| 677 | { | |
| 678 | "type": "integer", | |
| 679 | "strict_range": { | |
| 680 | "min": 0 | |
| 681 | } | |
| 682 | } | |
| 683 | ], | |
| 684 | "type": "list", | |
| 685 | "length": 4 | |
| 686 | } | |
| 687 | ], | |
| 688 | "depends": ["mask=corners"], | |
| 689 | "url": "https://docs.imgix.com/apis/url/mask/corner-radius", | |
| 690 | "short_description": "Specifies the radius value for a rounded corner mask." | |
| 691 | }, | |
| 692 | "crop": { | |
| 693 | "display_name": "crop mode", | |
| 694 | "category": "size", | |
| 695 | "available_in": ["url", "graph"], | |
| 696 | "expects": [ | |
| 697 | { | |
| 698 | "type": "list", | |
| 699 | "possible_values": [ | |
| 700 | "top", | |
| 701 | "bottom", | |
| 702 | "left", | |
| 703 | "right", | |
| 704 | "faces", | |
| 705 | "entropy", | |
| 706 | "edges", | |
| 707 | "focalpoint" | |
| 708 | ] | |
| 709 | } | |
| 710 | ], | |
| 711 | "depends": ["fit=crop"], | |
| 712 | "url": "https://docs.imgix.com/apis/url/size/crop", | |
| 713 | "short_description": "Specifies how to crop an image." | |
| 714 | }, | |
| 715 | "cs": { | |
| 716 | "display_name": "color space", | |
| 717 | "category": "format", | |
| 718 | "available_in": ["url", "graph", "output"], | |
| 719 | "expects": [ | |
| 720 | { | |
| 721 | "type": "string", | |
| 722 | "possible_values": [ | |
| 723 | "srgb", | |
| 724 | "adobergb1998", | |
| 725 | "tinysrgb", | |
| 726 | "strip" | |
| 727 | ] | |
| 728 | } | |
| 729 | ], | |
| 730 | "url": "https://docs.imgix.com/apis/url/format/cs", | |
| 731 | "short_description": "Specifies the color space of the output image." | |
| 732 | }, | |
| 733 | "dl": { | |
| 734 | "display_name": "download", | |
| 735 | "category": "format", | |
| 736 | "available_in": ["url", "output"], | |
| 737 | "expects": [ | |
| 738 | { | |
| 739 | "type": "string" | |
| 740 | } | |
| 741 | ], | |
| 742 | "url": "https://docs.imgix.com/apis/url/format/dl", | |
| 743 | "short_description": "Forces a URL to use send-file in its response." | |
| 744 | }, | |
| 745 | "dpi": { | |
| 746 | "display_name": "dots per inch", | |
| 747 | "category": "format", | |
| 748 | "available_in": ["url", "graph", "output"], | |
| 749 | "expects": [ | |
| 750 | { | |
| 751 | "type": "integer", | |
| 752 | "suggested_range": { | |
| 753 | "min": 0 | |
| 754 | } | |
| 755 | } | |
| 756 | ], | |
| 757 | "url": "https://docs.imgix.com/apis/url/format/dpi", | |
| 758 | "short_description": "Sets the DPI value in the EXIF header." | |
| 759 | }, | |
| 760 | "dpr": { | |
| 761 | "display_name": "device pixel ratio", | |
| 762 | "category": "pixel-density", | |
| 763 | "available_in": ["url", "graph", "output"], | |
| 764 | "expects": [ | |
| 765 | { | |
| 766 | "type": "number", | |
| 767 | "suggested_range": { | |
| 768 | "min": 0.75, | |
| 769 | "max": 5 | |
| 770 | }, | |
| 771 | "strict_range": { | |
| 772 | "min": 0, | |
| 773 | "max": 5 | |
| 774 | } | |
| 775 | } | |
| 776 | ], | |
| 777 | "default": 1, | |
| 778 | "url": "https://docs.imgix.com/apis/url/dpr", | |
| 779 | "short_description": "Adjusts the device-pixel ratio of the output image." | |
| 780 | }, | |
| 781 | "duotone-alpha": { | |
| 782 | "display_name": "duotone alpha", | |
| 783 | "category": "stylize", | |
| 784 | "available_in": ["url", "graph"], | |
| 785 | "expects": [ | |
| 786 | { | |
| 787 | "type": "integer", | |
| 788 | "strict_range": { | |
| 789 | "min": 0, | |
| 790 | "max": 100 | |
| 791 | } | |
| 792 | } | |
| 793 | ], | |
| 794 | "default": 100, | |
| 795 | "depends": ["duotone"], | |
| 796 | "url": "https://docs.imgix.com/apis/url/stylize/duotone-alpha", | |
| 797 | "short_description": "Changes the alpha of the duotone effect atop the source image." | |
| 798 | }, | |
| 799 | "duotone": { | |
| 800 | "display_name": "duotone", | |
| 801 | "category": "stylize", | |
| 802 | "available_in": ["url", "graph"], | |
| 803 | "expects": [ | |
| 804 | { | |
| 805 | "0": [ | |
| 806 | { | |
| 807 | "type": "hex_color" | |
| 808 | }, | |
| 809 | { | |
| 810 | "type": "color_keyword" | |
| 811 | } | |
| 812 | ], | |
| 813 | "1": [ | |
| 814 | { | |
| 815 | "type": "hex_color" | |
| 816 | }, | |
| 817 | { | |
| 818 | "type": "color_keyword" | |
| 819 | } | |
| 820 | ], | |
| 821 | "type": "list", | |
| 822 | "length": 2 | |
| 823 | } | |
| 824 | ], | |
| 825 | "url": "https://docs.imgix.com/apis/url/stylize/duotone", | |
| 826 | "short_description": "Applies a duotone effect to the source image." | |
| 827 | }, | |
| 828 | "exp": { | |
| 829 | "display_name": "exposure", | |
| 830 | "category": "adjustment", | |
| 831 | "available_in": ["url", "graph"], | |
| 832 | "expects": [ | |
| 833 | { | |
| 834 | "type": "integer", | |
| 835 | "suggested_range": { | |
| 836 | "min": -100, | |
| 837 | "max": 100 | |
| 838 | } | |
| 839 | } | |
| 840 | ], | |
| 841 | "default": 0, | |
| 842 | "url": "https://docs.imgix.com/apis/url/adjustment/exp", | |
| 843 | "short_description": "Adjusts the exposure of the output image." | |
| 844 | }, | |
| 845 | "expires": { | |
| 846 | "display_name": "URL expiration timestamp", | |
| 847 | "category": "expiration", | |
| 848 | "available_in": ["url"], | |
| 849 | "expects": [ | |
| 850 | { | |
| 851 | "type": "timestamp" | |
| 852 | } | |
| 853 | ], | |
| 854 | "url": "https://docs.imgix.com/apis/url/expires", | |
| 855 | "short_description": "A Unix timestamp specifying a UTC time. Requests made to this URL after that time will output a 404 status code." | |
| 856 | }, | |
| 857 | "faceindex": { | |
| 858 | "display_name": "face index", | |
| 859 | "category": "face-detection", | |
| 860 | "available_in": ["url", "graph"], | |
| 861 | "expects": [ | |
| 862 | { | |
| 863 | "type": "integer", | |
| 864 | "suggested_range": { | |
| 865 | "min": 1 | |
| 866 | } | |
| 867 | } | |
| 868 | ], | |
| 869 | "depends": ["fit=facearea"], | |
| 870 | "url": "https://docs.imgix.com/apis/url/face-detection/faceindex", | |
| 871 | "short_description": "Selects a face to crop to." | |
| 872 | }, | |
| 873 | "facepad": { | |
| 874 | "display_name": "face padding", | |
| 875 | "category": "face-detection", | |
| 876 | "available_in": ["url", "graph"], | |
| 877 | "expects": [ | |
| 878 | { | |
| 879 | "type": "number", | |
| 880 | "suggested_range": { | |
| 881 | "min": 1, | |
| 882 | "max": 10 | |
| 883 | } | |
| 884 | } | |
| 885 | ], | |
| 886 | "default": 1, | |
| 887 | "depends": ["fit=facearea"], | |
| 888 | "url": "https://docs.imgix.com/apis/url/face-detection/facepad", | |
| 889 | "short_description": "Adjusts padding around a selected face." | |
| 890 | }, | |
| 891 | "faces": { | |
| 892 | "display_name": "json face data", | |
| 893 | "category": "face-detection", | |
| 894 | "available_in": ["url", "graph"], | |
| 895 | "expects": [ | |
| 896 | { | |
| 897 | "type": "integer", | |
| 898 | "possible_values": [1] | |
| 899 | } | |
| 900 | ], | |
| 901 | "depends": ["fm=json"], | |
| 902 | "url": "https://docs.imgix.com/apis/url/face-detection/faces", | |
| 903 | "short_description": "Specifies that face data should be included in output when combined with `fm=json`." | |
| 904 | }, | |
| 905 | "fill-color": { | |
| 906 | "display_name": "fill color", | |
| 907 | "category": "fill", | |
| 908 | "available_in": ["url"], | |
| 909 | "expects": [ | |
| 910 | { | |
| 911 | "type": "hex_color" | |
| 912 | }, | |
| 913 | { | |
| 914 | "type": "color_keyword" | |
| 915 | } | |
| 916 | ], | |
| 917 | "aliases": ["fillcolor"], | |
| 918 | "default": "fff", | |
| 919 | "depends": ["fill=solid"], | |
| 920 | "url": "https://docs.imgix.com/apis/url/fill/fill-color", | |
| 921 | "short_description": "Sets the fill color for images with additional space created by the fit setting" | |
| 922 | }, | |
| 923 | "fill": { | |
| 924 | "display_name": "fill mode", | |
| 925 | "category": "fill", | |
| 926 | "available_in": ["url"], | |
| 927 | "expects": [ | |
| 928 | { | |
| 929 | "type": "string", | |
| 930 | "possible_values": ["solid", "blur"] | |
| 931 | } | |
| 932 | ], | |
| 933 | "depends": ["fit"], | |
| 934 | "url": "https://docs.imgix.com/apis/url/fill/fill", | |
| 935 | "short_description": "Determines how to fill in additional space created by the fit setting" | |
| 936 | }, | |
| 937 | "fit": { | |
| 938 | "display_name": "resize fit mode", | |
| 939 | "category": "size", | |
| 940 | "available_in": ["url", "graph"], | |
| 941 | "expects": [ | |
| 942 | { | |
| 943 | "type": "string", | |
| 944 | "possible_values": [ | |
| 945 | "clamp", | |
| 946 | "clip", | |
| 947 | "crop", | |
| 948 | "facearea", | |
| 949 | "fill", | |
| 950 | "fillmax", | |
| 951 | "max", | |
| 952 | "min", | |
| 953 | "scale" | |
| 954 | ] | |
| 955 | } | |
| 956 | ], | |
| 957 | "default": "clip", | |
| 958 | "aliases": ["f"], | |
| 959 | "url": "https://docs.imgix.com/apis/url/size/fit", | |
| 960 | "short_description": "Specifies how to map the source image to the output image dimensions." | |
| 961 | }, | |
| 962 | "flip": { | |
| 963 | "display_name": "flip axis", | |
| 964 | "category": "rotation", | |
| 965 | "available_in": ["url", "graph"], | |
| 966 | "expects": [ | |
| 967 | { | |
| 968 | "type": "string", | |
| 969 | "possible_values": ["h", "v", "hv"] | |
| 970 | } | |
| 971 | ], | |
| 972 | "url": "https://docs.imgix.com/apis/url/rotation/flip", | |
| 973 | "short_description": "Flips an image on a specified axis." | |
| 974 | }, | |
| 975 | "fm": { | |
| 976 | "display_name": "output format", | |
| 977 | "category": "format", | |
| 978 | "available_in": ["url", "graph", "output"], | |
| 979 | "expects": [ | |
| 980 | { | |
| 981 | "type": "string", | |
| 982 | "possible_values": [ | |
| 983 | "gif", | |
| 984 | "jpg", | |
| 985 | "jp2", | |
| 986 | "json", | |
| 987 | "jxr", | |
| 988 | "pjpg", | |
| 989 | "mp4", | |
| 990 | "png", | |
| 991 | "png8", | |
| 992 | "png32", | |
| 993 | "webp", | |
| 994 | "webm", | |
| 995 | "blurhash" | |
| 996 | ] | |
| 997 | } | |
| 998 | ], | |
| 999 | "url": "https://docs.imgix.com/apis/url/format/fm", | |
| 1000 | "short_description": "Changes the format of the output image." | |
| 1001 | }, | |
| 1002 | "fp-debug": { | |
| 1003 | "display_name": "focal point debug", | |
| 1004 | "category": "focalpoint-crop", | |
| 1005 | "available_in": ["url"], | |
| 1006 | "expects": [ | |
| 1007 | { | |
| 1008 | "type": "boolean" | |
| 1009 | } | |
| 1010 | ], | |
| 1011 | "default": false, | |
| 1012 | "depends": ["fit=crop", "crop=focalpoint"], | |
| 1013 | "url": "https://docs.imgix.com/apis/url/focalpoint-crop/fp-debug", | |
| 1014 | "short_description": "Displays crosshairs identifying the location of the set focal point" | |
| 1015 | }, | |
| 1016 | "fp-x": { | |
| 1017 | "display_name": "focal point x position", | |
| 1018 | "category": "focalpoint-crop", | |
| 1019 | "available_in": ["url"], | |
| 1020 | "expects": [ | |
| 1021 | { | |
| 1022 | "type": "unit_scalar", | |
| 1023 | "default": 0.5, | |
| 1024 | "strict_range": { | |
| 1025 | "min": 0, | |
| 1026 | "max": 1 | |
| 1027 | } | |
| 1028 | } | |
| 1029 | ], | |
| 1030 | "depends": ["fit=crop", "crop=focalpoint"], | |
| 1031 | "url": "https://docs.imgix.com/apis/url/focalpoint-crop/fp-x", | |
| 1032 | "short_description": "Sets the relative horizontal value for the focal point of an image" | |
| 1033 | }, | |
| 1034 | "fp-y": { | |
| 1035 | "display_name": "focal point y position", | |
| 1036 | "category": "focalpoint-crop", | |
| 1037 | "available_in": ["url"], | |
| 1038 | "expects": [ | |
| 1039 | { | |
| 1040 | "type": "unit_scalar", | |
| 1041 | "default": 0.5, | |
| 1042 | "strict_range": { | |
| 1043 | "min": 0, | |
| 1044 | "max": 1 | |
| 1045 | } | |
| 1046 | } | |
| 1047 | ], | |
| 1048 | "depends": ["fit=crop", "crop=focalpoint"], | |
| 1049 | "url": "https://docs.imgix.com/apis/url/focalpoint-crop/fp-y", | |
| 1050 | "short_description": "Sets the relative vertical value for the focal point of an image" | |
| 1051 | }, | |
| 1052 | "fp-z": { | |
| 1053 | "display_name": "focal point zoom", | |
| 1054 | "category": "focalpoint-crop", | |
| 1055 | "available_in": ["url"], | |
| 1056 | "expects": [ | |
| 1057 | { | |
| 1058 | "type": "number", | |
| 1059 | "default": 1, | |
| 1060 | "suggested_range": { | |
| 1061 | "min": 1, | |
| 1062 | "max": 10 | |
| 1063 | }, | |
| 1064 | "strict_range": { | |
| 1065 | "min": 1, | |
| 1066 | "max": 100 | |
| 1067 | } | |
| 1068 | } | |
| 1069 | ], | |
| 1070 | "depends": ["fit=crop", "crop=focalpoint"], | |
| 1071 | "url": "https://docs.imgix.com/apis/url/focalpoint-crop/fp-z", | |
| 1072 | "short_description": "Sets the relative zoom value for the focal point of an image" | |
| 1073 | }, | |
| 1074 | "gam": { | |
| 1075 | "display_name": "gamma", | |
| 1076 | "category": "adjustment", | |
| 1077 | "available_in": ["url", "graph"], | |
| 1078 | "expects": [ | |
| 1079 | { | |
| 1080 | "type": "integer", | |
| 1081 | "suggested_range": { | |
| 1082 | "min": -100, | |
| 1083 | "max": 100 | |
| 1084 | } | |
| 1085 | } | |
| 1086 | ], | |
| 1087 | "default": 0, | |
| 1088 | "url": "https://docs.imgix.com/apis/url/adjustment/gam", | |
| 1089 | "short_description": "Adjusts the gamma of the source image." | |
| 1090 | }, | |
| 1091 | "grid-colors": { | |
| 1092 | "display_name": "grid colors", | |
| 1093 | "category": "fill", | |
| 1094 | "available_in": ["url"], | |
| 1095 | "expects": [ | |
| 1096 | { | |
| 1097 | "0": [ | |
| 1098 | { | |
| 1099 | "type": "hex_color" | |
| 1100 | }, | |
| 1101 | { | |
| 1102 | "type": "color_keyword" | |
| 1103 | } | |
| 1104 | ], | |
| 1105 | "1": [ | |
| 1106 | { | |
| 1107 | "type": "hex_color" | |
| 1108 | }, | |
| 1109 | { | |
| 1110 | "type": "color_keyword" | |
| 1111 | } | |
| 1112 | ], | |
| 1113 | "type": "list", | |
| 1114 | "default": "D0D7DD,FFFFFF", | |
| 1115 | "length": 2 | |
| 1116 | } | |
| 1117 | ], | |
| 1118 | "depends": ["transparency"], | |
| 1119 | "short_description": "Sets grid colors for the transparency checkerboard grid." | |
| 1120 | }, | |
| 1121 | "grid-size": { | |
| 1122 | "display_name": "grid size", | |
| 1123 | "category": "fill", | |
| 1124 | "available_in": ["url"], | |
| 1125 | "expects": [ | |
| 1126 | { | |
| 1127 | "type": "integer", | |
| 1128 | "default": 4, | |
| 1129 | "strict_range": { | |
| 1130 | "min": 0 | |
| 1131 | } | |
| 1132 | } | |
| 1133 | ], | |
| 1134 | "depends": ["transparency"], | |
| 1135 | "short_description": "Sets grid size for the transparency checkerboard grid." | |
| 1136 | }, | |
| 1137 | "h": { | |
| 1138 | "display_name": "image height", | |
| 1139 | "category": "size", | |
| 1140 | "available_in": ["url", "graph"], | |
| 1141 | "expects": [ | |
| 1142 | { | |
| 1143 | "type": "integer", | |
| 1144 | "strict_range": { | |
| 1145 | "min": 2, | |
| 1146 | "max": 8192 | |
| 1147 | } | |
| 1148 | }, | |
| 1149 | { | |
| 1150 | "type": "unit_scalar", | |
| 1151 | "strict_range": { | |
| 1152 | "min": 0, | |
| 1153 | "max": 1 | |
| 1154 | } | |
| 1155 | } | |
| 1156 | ], | |
| 1157 | "aliases": ["height"], | |
| 1158 | "url": "https://docs.imgix.com/apis/url/size/h", | |
| 1159 | "short_description": "Adjusts the height of the output image." | |
| 1160 | }, | |
| 1161 | "high": { | |
| 1162 | "display_name": "highlight", | |
| 1163 | "category": "adjustment", | |
| 1164 | "available_in": ["url", "graph"], | |
| 1165 | "expects": [ | |
| 1166 | { | |
| 1167 | "type": "integer", | |
| 1168 | "suggested_range": { | |
| 1169 | "min": -100, | |
| 1170 | "max": 0 | |
| 1171 | } | |
| 1172 | } | |
| 1173 | ], | |
| 1174 | "default": 0, | |
| 1175 | "url": "https://docs.imgix.com/apis/url/adjustment/high", | |
| 1176 | "short_description": "Adjusts the highlights of the source image." | |
| 1177 | }, | |
| 1178 | "htn": { | |
| 1179 | "display_name": "halftone", | |
| 1180 | "category": "stylize", | |
| 1181 | "available_in": ["url", "graph"], | |
| 1182 | "expects": [ | |
| 1183 | { | |
| 1184 | "type": "integer", | |
| 1185 | "suggested_range": { | |
| 1186 | "min": 0, | |
| 1187 | "max": 100 | |
| 1188 | } | |
| 1189 | } | |
| 1190 | ], | |
| 1191 | "default": 0, | |
| 1192 | "url": "https://docs.imgix.com/apis/url/stylize/htn", | |
| 1193 | "short_description": "Applies a half-tone effect to the source image." | |
| 1194 | }, | |
| 1195 | "hue": { | |
| 1196 | "display_name": "hue shift", | |
| 1197 | "category": "adjustment", | |
| 1198 | "available_in": ["url", "graph"], | |
| 1199 | "expects": [ | |
| 1200 | { | |
| 1201 | "type": "integer", | |
| 1202 | "suggested_range": { | |
| 1203 | "min": 0, | |
| 1204 | "max": 360 | |
| 1205 | } | |
| 1206 | } | |
| 1207 | ], | |
| 1208 | "default": 0, | |
| 1209 | "url": "https://docs.imgix.com/apis/url/adjustment/hue", | |
| 1210 | "short_description": "Adjusts the hue of the source image." | |
| 1211 | }, | |
| 1212 | "invert": { | |
| 1213 | "display_name": "invert", | |
| 1214 | "category": "adjustment", | |
| 1215 | "available_in": ["url", "graph"], | |
| 1216 | "expects": [ | |
| 1217 | { | |
| 1218 | "type": "boolean" | |
| 1219 | } | |
| 1220 | ], | |
| 1221 | "aliases": ["inv"], | |
| 1222 | "default": false, | |
| 1223 | "url": "https://docs.imgix.com/apis/url/adjustment/invert", | |
| 1224 | "short_description": "Inverts the colors on the source image." | |
| 1225 | }, | |
| 1226 | "lossless": { | |
| 1227 | "display_name": "lossless compression", | |
| 1228 | "category": "format", | |
| 1229 | "available_in": ["url", "graph", "output"], | |
| 1230 | "expects": [ | |
| 1231 | { | |
| 1232 | "type": "boolean" | |
| 1233 | } | |
| 1234 | ], | |
| 1235 | "default": false, | |
| 1236 | "depends": ["fm=webp", "fm=jxr"], | |
| 1237 | "url": "https://docs.imgix.com/apis/url/format/lossless", | |
| 1238 | "short_description": "Specifies that the output image should be a lossless variant." | |
| 1239 | }, | |
| 1240 | "mark-align": { | |
| 1241 | "display_name": "watermark alignment mode", | |
| 1242 | "category": "watermark", | |
| 1243 | "available_in": ["url"], | |
| 1244 | "expects": [ | |
| 1245 | { | |
| 1246 | "type": "list", | |
| 1247 | "possible_values": [ | |
| 1248 | "top", | |
| 1249 | "middle", | |
| 1250 | "bottom", | |
| 1251 | "left", | |
| 1252 | "center", | |
| 1253 | "right" | |
| 1254 | ] | |
| 1255 | } | |
| 1256 | ], | |
| 1257 | "aliases": ["ma", "markalign"], | |
| 1258 | "depends": ["mark"], | |
| 1259 | "url": "https://docs.imgix.com/apis/url/watermark/mark-align", | |
| 1260 | "short_description": "Changes the watermark alignment relative to the parent image." | |
| 1261 | }, | |
| 1262 | "mark-alpha": { | |
| 1263 | "display_name": "watermark alpha", | |
| 1264 | "category": "watermark", | |
| 1265 | "available_in": ["url"], | |
| 1266 | "expects": [ | |
| 1267 | { | |
| 1268 | "type": "integer", | |
| 1269 | "suggested_range": { | |
| 1270 | "min": 1, | |
| 1271 | "max": 100 | |
| 1272 | } | |
| 1273 | } | |
| 1274 | ], | |
| 1275 | "default": 100, | |
| 1276 | "aliases": ["markalpha", "malph"], | |
| 1277 | "depends": ["mark"], | |
| 1278 | "url": "https://docs.imgix.com/apis/url/watermark/mark-alpha", | |
| 1279 | "short_description": "Changes the alpha of the watermark image." | |
| 1280 | }, | |
| 1281 | "mark-base": { | |
| 1282 | "display_name": "watermark base url", | |
| 1283 | "category": "watermark", | |
| 1284 | "available_in": ["url"], | |
| 1285 | "expects": [ | |
| 1286 | { | |
| 1287 | "type": "url" | |
| 1288 | }, | |
| 1289 | { | |
| 1290 | "type": "path" | |
| 1291 | } | |
| 1292 | ], | |
| 1293 | "aliases": ["mb", "markbase"], | |
| 1294 | "depends": ["mark"], | |
| 1295 | "url": "https://docs.imgix.com/apis/url/watermark/mark-base", | |
| 1296 | "short_description": "Changes base URL of the watermark image." | |
| 1297 | }, | |
| 1298 | "mark-fit": { | |
| 1299 | "display_name": "watermark fit mode", | |
| 1300 | "category": "watermark", | |
| 1301 | "available_in": ["url"], | |
| 1302 | "expects": [ | |
| 1303 | { | |
| 1304 | "type": "string", | |
| 1305 | "possible_values": ["clip", "crop", "fill", "max", "scale"] | |
| 1306 | } | |
| 1307 | ], | |
| 1308 | "default": "clip", | |
| 1309 | "aliases": ["mf", "markfit"], | |
| 1310 | "depends": ["mark", "markw", "markh"], | |
| 1311 | "url": "https://docs.imgix.com/apis/url/watermark/mark-fit", | |
| 1312 | "short_description": "Specifies the fit mode for watermark images." | |
| 1313 | }, | |
| 1314 | "mark-h": { | |
| 1315 | "display_name": "watermark height", | |
| 1316 | "category": "watermark", | |
| 1317 | "available_in": ["url"], | |
| 1318 | "expects": [ | |
| 1319 | { | |
| 1320 | "type": "integer", | |
| 1321 | "strict_range": { | |
| 1322 | "min": 2, | |
| 1323 | "max": 8192 | |
| 1324 | } | |
| 1325 | }, | |
| 1326 | { | |
| 1327 | "type": "unit_scalar", | |
| 1328 | "strict_range": { | |
| 1329 | "min": 0, | |
| 1330 | "max": 1 | |
| 1331 | } | |
| 1332 | } | |
| 1333 | ], | |
| 1334 | "aliases": ["mh", "markh"], | |
| 1335 | "depends": ["mark"], | |
| 1336 | "url": "https://docs.imgix.com/apis/url/watermark/mark-h", | |
| 1337 | "short_description": "Adjusts the height of the watermark image." | |
| 1338 | }, | |
| 1339 | "mark-pad": { | |
| 1340 | "display_name": "watermark padding", | |
| 1341 | "category": "watermark", | |
| 1342 | "available_in": ["url"], | |
| 1343 | "expects": [ | |
| 1344 | { | |
| 1345 | "type": "integer", | |
| 1346 | "suggested_range": { | |
| 1347 | "min": 0 | |
| 1348 | } | |
| 1349 | } | |
| 1350 | ], | |
| 1351 | "default": 5, | |
| 1352 | "aliases": ["mp", "markpad"], | |
| 1353 | "depends": ["mark"], | |
| 1354 | "url": "https://docs.imgix.com/apis/url/watermark/mark-pad", | |
| 1355 | "short_description": "Applies padding to the watermark image." | |
| 1356 | }, | |
| 1357 | "mark-rot": { | |
| 1358 | "display_name": "watermark rotation", | |
| 1359 | "category": "watermark", | |
| 1360 | "available_in": ["url", "graph"], | |
| 1361 | "expects": [ | |
| 1362 | { | |
| 1363 | "type": "number", | |
| 1364 | "suggested_range": { | |
| 1365 | "min": 0, | |
| 1366 | "max": 359 | |
| 1367 | } | |
| 1368 | } | |
| 1369 | ], | |
| 1370 | "default": 0, | |
| 1371 | "url": "https://docs.imgix.com/apis/url/watermark/mark-rot", | |
| 1372 | "short_description": "Rotates a watermark or tiled watermarks by a specified number of degrees." | |
| 1373 | }, | |
| 1374 | "mark-scale": { | |
| 1375 | "display_name": "watermark scale", | |
| 1376 | "category": "watermark", | |
| 1377 | "available_in": ["url"], | |
| 1378 | "expects": [ | |
| 1379 | { | |
| 1380 | "type": "integer", | |
| 1381 | "suggested_range": { | |
| 1382 | "min": 0, | |
| 1383 | "max": 100 | |
| 1384 | } | |
| 1385 | } | |
| 1386 | ], | |
| 1387 | "aliases": ["ms", "markscale"], | |
| 1388 | "depends": ["mark"], | |
| 1389 | "url": "https://docs.imgix.com/apis/url/watermark/mark-scale", | |
| 1390 | "short_description": "Adjusts the scale of the watermark image." | |
| 1391 | }, | |
| 1392 | "mark-tile": { | |
| 1393 | "display_name": "watermark tile", | |
| 1394 | "category": "watermark", | |
| 1395 | "available_in": ["url"], | |
| 1396 | "expects": [ | |
| 1397 | { | |
| 1398 | "type": "string", | |
| 1399 | "possible_values": ["grid"] | |
| 1400 | } | |
| 1401 | ], | |
| 1402 | "aliases": ["mtile", "marktile"], | |
| 1403 | "depends": ["mark"], | |
| 1404 | "url": "https://docs.imgix.com/apis/url/watermark/mark-tile", | |
| 1405 | "short_description": "Adds tiled watermark." | |
| 1406 | }, | |
| 1407 | "mark-w": { | |
| 1408 | "display_name": "watermark width", | |
| 1409 | "category": "watermark", | |
| 1410 | "available_in": ["url"], | |
| 1411 | "expects": [ | |
| 1412 | { | |
| 1413 | "type": "integer", | |
| 1414 | "strict_range": { | |
| 1415 | "min": 2, | |
| 1416 | "max": 8192 | |
| 1417 | } | |
| 1418 | }, | |
| 1419 | { | |
| 1420 | "type": "unit_scalar", | |
| 1421 | "strict_range": { | |
| 1422 | "min": 0, | |
| 1423 | "max": 1 | |
| 1424 | } | |
| 1425 | } | |
| 1426 | ], | |
| 1427 | "aliases": ["mw", "markw"], | |
| 1428 | "depends": ["mark"], | |
| 1429 | "url": "https://docs.imgix.com/apis/url/watermark/mark-w", | |
| 1430 | "short_description": "Adjusts the width of the watermark image." | |
| 1431 | }, | |
| 1432 | "mark-x": { | |
| 1433 | "display_name": "watermark x position", | |
| 1434 | "category": "watermark", | |
| 1435 | "available_in": ["url"], | |
| 1436 | "expects": [ | |
| 1437 | { | |
| 1438 | "type": "integer", | |
| 1439 | "suggested_range": { | |
| 1440 | "min": 0 | |
| 1441 | } | |
| 1442 | } | |
| 1443 | ], | |
| 1444 | "aliases": ["mx", "markx"], | |
| 1445 | "depends": ["mark"], | |
| 1446 | "url": "https://docs.imgix.com/apis/url/watermark/mark-x", | |
| 1447 | "short_description": "Adjusts the x-offset of the watermark image relative to its parent." | |
| 1448 | }, | |
| 1449 | "mark-y": { | |
| 1450 | "display_name": "watermark y position", | |
| 1451 | "category": "watermark", | |
| 1452 | "available_in": ["url"], | |
| 1453 | "expects": [ | |
| 1454 | { | |
| 1455 | "type": "integer", | |
| 1456 | "strict_range": { | |
| 1457 | "min": 0 | |
| 1458 | } | |
| 1459 | } | |
| 1460 | ], | |
| 1461 | "aliases": ["my", "marky"], | |
| 1462 | "depends": ["mark"], | |
| 1463 | "url": "https://docs.imgix.com/apis/url/watermark/mark-y", | |
| 1464 | "short_description": "Adjusts the y-offset of the watermark image relative to its parent." | |
| 1465 | }, | |
| 1466 | "mark": { | |
| 1467 | "display_name": "watermark image url", | |
| 1468 | "category": "watermark", | |
| 1469 | "available_in": ["url"], | |
| 1470 | "expects": [ | |
| 1471 | { | |
| 1472 | "type": "url" | |
| 1473 | }, | |
| 1474 | { | |
| 1475 | "type": "path" | |
| 1476 | } | |
| 1477 | ], | |
| 1478 | "aliases": ["m"], | |
| 1479 | "url": "https://docs.imgix.com/apis/url/watermark/mark", | |
| 1480 | "short_description": "Specifies the location of the watermark image." | |
| 1481 | }, | |
| 1482 | "mask-bg": { | |
| 1483 | "display_name": "mask background color", | |
| 1484 | "category": "mask", | |
| 1485 | "available_in": ["url", "graph"], | |
| 1486 | "expects": [ | |
| 1487 | { | |
| 1488 | "type": "hex_color" | |
| 1489 | }, | |
| 1490 | { | |
| 1491 | "type": "color_keyword" | |
| 1492 | } | |
| 1493 | ], | |
| 1494 | "default": "fff", | |
| 1495 | "aliases": ["maskbg"], | |
| 1496 | "depends": ["mask"], | |
| 1497 | "url": "https://docs.imgix.com/apis/url/mask/mask-bg", | |
| 1498 | "short_description": "Colors the background of the transparent mask area of images" | |
| 1499 | }, | |
| 1500 | "mask": { | |
| 1501 | "display_name": "mask type", | |
| 1502 | "category": "mask", | |
| 1503 | "available_in": ["url", "graph"], | |
| 1504 | "expects": [ | |
| 1505 | { | |
| 1506 | "type": "string", | |
| 1507 | "possible_values": ["ellipse", "corners"] | |
| 1508 | }, | |
| 1509 | { | |
| 1510 | "type": "url" | |
| 1511 | }, | |
| 1512 | { | |
| 1513 | "type": "path" | |
| 1514 | } | |
| 1515 | ], | |
| 1516 | "url": "https://docs.imgix.com/apis/url/mask", | |
| 1517 | "short_description": "Defines the type of mask and specifies the URL if that type is selected." | |
| 1518 | }, | |
| 1519 | "max-h": { | |
| 1520 | "display_name": "maximum height", | |
| 1521 | "category": "size", | |
| 1522 | "available_in": ["url"], | |
| 1523 | "expects": [ | |
| 1524 | { | |
| 1525 | "type": "integer", | |
| 1526 | "strict_range": { | |
| 1527 | "min": 1, | |
| 1528 | "max": 8192 | |
| 1529 | } | |
| 1530 | } | |
| 1531 | ], | |
| 1532 | "aliases": ["max-height"], | |
| 1533 | "depends": ["fit=crop"], | |
| 1534 | "url": "https://docs.imgix.com/apis/url/size/max-height", | |
| 1535 | "short_description": "Specifies the maximum height of the output image in pixels." | |
| 1536 | }, | |
| 1537 | "max-w": { | |
| 1538 | "display_name": "maximum width", | |
| 1539 | "category": "size", | |
| 1540 | "available_in": ["url"], | |
| 1541 | "expects": [ | |
| 1542 | { | |
| 1543 | "type": "integer", | |
| 1544 | "strict_range": { | |
| 1545 | "min": 1, | |
| 1546 | "max": 8192 | |
| 1547 | } | |
| 1548 | } | |
| 1549 | ], | |
| 1550 | "aliases": ["max-width"], | |
| 1551 | "depends": ["fit=crop"], | |
| 1552 | "url": "https://docs.imgix.com/apis/url/size/max-width", | |
| 1553 | "short_description": "Specifies the maximum width of the output image in pixels." | |
| 1554 | }, | |
| 1555 | "min-h": { | |
| 1556 | "display_name": "minimum height", | |
| 1557 | "category": "size", | |
| 1558 | "available_in": ["url"], | |
| 1559 | "expects": [ | |
| 1560 | { | |
| 1561 | "type": "integer", | |
| 1562 | "strict_range": { | |
| 1563 | "min": 1, | |
| 1564 | "max": 8192 | |
| 1565 | } | |
| 1566 | } | |
| 1567 | ], | |
| 1568 | "aliases": ["min-height"], | |
| 1569 | "depends": ["fit=crop"], | |
| 1570 | "url": "https://docs.imgix.com/apis/url/size/min-height", | |
| 1571 | "short_description": "Specifies the minimum height of the output image in pixels." | |
| 1572 | }, | |
| 1573 | "min-w": { | |
| 1574 | "display_name": "minimum width", | |
| 1575 | "category": "size", | |
| 1576 | "available_in": ["url"], | |
| 1577 | "expects": [ | |
| 1578 | { | |
| 1579 | "type": "integer", | |
| 1580 | "strict_range": { | |
| 1581 | "min": 1, | |
| 1582 | "max": 8192 | |
| 1583 | } | |
| 1584 | } | |
| 1585 | ], | |
| 1586 | "aliases": ["min-width"], | |
| 1587 | "depends": ["fit=crop"], | |
| 1588 | "url": "https://docs.imgix.com/apis/url/size/min-width", | |
| 1589 | "short_description": "Specifies the minimum width of the output image in pixels." | |
| 1590 | }, | |
| 1591 | "monochrome": { | |
| 1592 | "display_name": "monochrome", | |
| 1593 | "category": "stylize", | |
| 1594 | "available_in": ["url", "graph"], | |
| 1595 | "expects": [ | |
| 1596 | { | |
| 1597 | "type": "hex_color" | |
| 1598 | }, | |
| 1599 | { | |
| 1600 | "type": "color_keyword" | |
| 1601 | } | |
| 1602 | ], | |
| 1603 | "aliases": ["mono"], | |
| 1604 | "url": "https://docs.imgix.com/apis/url/stylize/monochrome", | |
| 1605 | "short_description": "Applies a monochrome effect to the source image." | |
| 1606 | }, | |
| 1607 | "nr": { | |
| 1608 | "display_name": "noise reduction bound", | |
| 1609 | "category": "noise-reduction", | |
| 1610 | "available_in": ["url", "graph"], | |
| 1611 | "expects": [ | |
| 1612 | { | |
| 1613 | "type": "integer", | |
| 1614 | "suggested_range": { | |
| 1615 | "min": -100, | |
| 1616 | "max": 100 | |
| 1617 | } | |
| 1618 | } | |
| 1619 | ], | |
| 1620 | "default": 20, | |
| 1621 | "url": "https://docs.imgix.com/apis/url/noise-reduction/nr", | |
| 1622 | "short_description": "Reduces the noise in an image." | |
| 1623 | }, | |
| 1624 | "nrs": { | |
| 1625 | "display_name": "noise reduction sharpen", | |
| 1626 | "category": "noise-reduction", | |
| 1627 | "available_in": ["url", "graph"], | |
| 1628 | "expects": [ | |
| 1629 | { | |
| 1630 | "type": "integer", | |
| 1631 | "suggested_range": { | |
| 1632 | "min": -100, | |
| 1633 | "max": 100 | |
| 1634 | } | |
| 1635 | } | |
| 1636 | ], | |
| 1637 | "default": 20, | |
| 1638 | "url": "https://docs.imgix.com/apis/url/noise-reduction/nrs", | |
| 1639 | "short_description": "Provides a threshold by which to sharpen an image." | |
| 1640 | }, | |
| 1641 | "orient": { | |
| 1642 | "display_name": "orientation", | |
| 1643 | "category": "rotation", | |
| 1644 | "available_in": ["url", "graph"], | |
| 1645 | "expects": [ | |
| 1646 | { | |
| 1647 | "type": "integer", | |
| 1648 | "possible_values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 90, 180, 270] | |
| 1649 | } | |
| 1650 | ], | |
| 1651 | "aliases": ["or"], | |
| 1652 | "url": "https://docs.imgix.com/apis/url/rotation/orient", | |
| 1653 | "short_description": "Changes the image orientation." | |
| 1654 | }, | |
| 1655 | "pad-bottom": { | |
| 1656 | "display_name": "padding bottom", | |
| 1657 | "category": "border-and-padding", | |
| 1658 | "available_in": ["url"], | |
| 1659 | "expects": [ | |
| 1660 | { | |
| 1661 | "type": "integer", | |
| 1662 | "suggested_range": { | |
| 1663 | "min": 0 | |
| 1664 | }, | |
| 1665 | "default": 0 | |
| 1666 | } | |
| 1667 | ], | |
| 1668 | "url": "https://docs.imgix.com/apis/url/border-and-padding/pad-bottom", | |
| 1669 | "short_description": "Sets bottom padding of an image." | |
| 1670 | }, | |
| 1671 | "pad-left": { | |
| 1672 | "display_name": "padding left", | |
| 1673 | "category": "border-and-padding", | |
| 1674 | "available_in": ["url"], | |
| 1675 | "expects": [ | |
| 1676 | { | |
| 1677 | "type": "integer", | |
| 1678 | "suggested_range": { | |
| 1679 | "min": 0 | |
| 1680 | }, | |
| 1681 | "default": 0 | |
| 1682 | } | |
| 1683 | ], | |
| 1684 | "url": "https://docs.imgix.com/apis/url/border-and-padding/pad-left", | |
| 1685 | "short_description": "Sets left padding of an image." | |
| 1686 | }, | |
| 1687 | "pad-right": { | |
| 1688 | "display_name": "padding right", | |
| 1689 | "category": "border-and-padding", | |
| 1690 | "available_in": ["url"], | |
| 1691 | "expects": [ | |
| 1692 | { | |
| 1693 | "type": "integer", | |
| 1694 | "suggested_range": { | |
| 1695 | "min": 0 | |
| 1696 | }, | |
| 1697 | "default": 0 | |
| 1698 | } | |
| 1699 | ], | |
| 1700 | "url": "https://docs.imgix.com/apis/url/border-and-padding/pad-right", | |
| 1701 | "short_description": "Sets right padding of an image." | |
| 1702 | }, | |
| 1703 | "pad-top": { | |
| 1704 | "display_name": "padding top", | |
| 1705 | "category": "border-and-padding", | |
| 1706 | "available_in": ["url"], | |
| 1707 | "expects": [ | |
| 1708 | { | |
| 1709 | "type": "integer", | |
| 1710 | "suggested_range": { | |
| 1711 | "min": 0 | |
| 1712 | }, | |
| 1713 | "default": 0 | |
| 1714 | } | |
| 1715 | ], | |
| 1716 | "url": "https://docs.imgix.com/apis/url/border-and-padding/pad-top", | |
| 1717 | "short_description": "Sets top padding of an image." | |
| 1718 | }, | |
| 1719 | "pad": { | |
| 1720 | "display_name": "padding", | |
| 1721 | "category": "border-and-padding", | |
| 1722 | "available_in": ["url"], | |
| 1723 | "expects": [ | |
| 1724 | { | |
| 1725 | "type": "integer", | |
| 1726 | "suggested_range": { | |
| 1727 | "min": 0 | |
| 1728 | } | |
| 1729 | } | |
| 1730 | ], | |
| 1731 | "default": 0, | |
| 1732 | "url": "https://docs.imgix.com/apis/url/border-and-padding/pad", | |
| 1733 | "short_description": "Pads an image." | |
| 1734 | }, | |
| 1735 | "page": { | |
| 1736 | "display_name": "pdf page number", | |
| 1737 | "category": "pdf", | |
| 1738 | "available_in": ["url", "graph"], | |
| 1739 | "expects": [ | |
| 1740 | { | |
| 1741 | "type": "integer", | |
| 1742 | "suggested_range": { | |
| 1743 | "min": 1 | |
| 1744 | } | |
| 1745 | } | |
| 1746 | ], | |
| 1747 | "default": 1, | |
| 1748 | "url": "https://docs.imgix.com/apis/url/pdf/page", | |
| 1749 | "short_description": "Selects a page from a PDF for display." | |
| 1750 | }, | |
| 1751 | "palette": { | |
| 1752 | "display_name": "color palette extraction", | |
| 1753 | "category": "color-palette", | |
| 1754 | "available_in": ["url", "output"], | |
| 1755 | "expects": [ | |
| 1756 | { | |
| 1757 | "type": "string", | |
| 1758 | "possible_values": ["css", "json"] | |
| 1759 | } | |
| 1760 | ], | |
| 1761 | "url": "https://docs.imgix.com/apis/url/color-palette/palette", | |
| 1762 | "short_description": "Specifies an output format for palette-extraction." | |
| 1763 | }, | |
| 1764 | "pdf-annotation": { | |
| 1765 | "display_name": "pdf annotation", | |
| 1766 | "category": "pdf", | |
| 1767 | "available_in": ["url", "graph"], | |
| 1768 | "expects": [ | |
| 1769 | { | |
| 1770 | "type": "boolean" | |
| 1771 | } | |
| 1772 | ], | |
| 1773 | "default": true, | |
| 1774 | "aliases": ["annotation"], | |
| 1775 | "url": "https://docs.imgix.com/apis/url/pdf/pdf-annotation", | |
| 1776 | "short_description": "Enables or disables PDF annotation." | |
| 1777 | }, | |
| 1778 | "prefix": { | |
| 1779 | "display_name": "css prefix", | |
| 1780 | "category": "color-palette", | |
| 1781 | "available_in": ["url", "output"], | |
| 1782 | "expects": [ | |
| 1783 | { | |
| 1784 | "type": "string" | |
| 1785 | } | |
| 1786 | ], | |
| 1787 | "default": "image", | |
| 1788 | "depends": ["palette=css"], | |
| 1789 | "url": "https://docs.imgix.com/apis/url/color-palette/prefix", | |
| 1790 | "short_description": "Specifies a CSS prefix for all classes in palette-extraction." | |
| 1791 | }, | |
| 1792 | "px": { | |
| 1793 | "display_name": "pixellate", | |
| 1794 | "category": "stylize", | |
| 1795 | "available_in": ["url", "graph"], | |
| 1796 | "expects": [ | |
| 1797 | { | |
| 1798 | "type": "integer", | |
| 1799 | "suggested_range": { | |
| 1800 | "min": 0, | |
| 1801 | "max": 100 | |
| 1802 | } | |
| 1803 | } | |
| 1804 | ], | |
| 1805 | "default": 0, | |
| 1806 | "url": "https://docs.imgix.com/apis/url/stylize/px", | |
| 1807 | "short_description": "Applies a pixelation effect to an image." | |
| 1808 | }, | |
| 1809 | "q": { | |
| 1810 | "display_name": "output quality", | |
| 1811 | "category": "format", | |
| 1812 | "available_in": ["url", "graph", "output"], | |
| 1813 | "expects": [ | |
| 1814 | { | |
| 1815 | "type": "integer", | |
| 1816 | "suggested_range": { | |
| 1817 | "min": 0, | |
| 1818 | "max": 100 | |
| 1819 | } | |
| 1820 | } | |
| 1821 | ], | |
| 1822 | "default": 75, | |
| 1823 | "depends": ["fm=jpg", "fm=pjpg", "fm=webp", "fm=jxr"], | |
| 1824 | "url": "https://docs.imgix.com/apis/url/format/q", | |
| 1825 | "short_description": "Adjusts the quality of an output image." | |
| 1826 | }, | |
| 1827 | "rect": { | |
| 1828 | "display_name": "source rectangle region", | |
| 1829 | "category": "size", | |
| 1830 | "available_in": ["url", "graph"], | |
| 1831 | "expects": [ | |
| 1832 | { | |
| 1833 | "0": [ | |
| 1834 | { | |
| 1835 | "type": "integer", | |
| 1836 | "strict_range": { | |
| 1837 | "min": 0 | |
| 1838 | } | |
| 1839 | }, | |
| 1840 | { | |
| 1841 | "type": "string", | |
| 1842 | "possible_values": ["left", "center", "right"] | |
| 1843 | }, | |
| 1844 | { | |
| 1845 | "type": "unit_scalar", | |
| 1846 | "strict_range": { | |
| 1847 | "min": 0, | |
| 1848 | "max": 1 | |
| 1849 | } | |
| 1850 | } | |
| 1851 | ], | |
| 1852 | "1": [ | |
| 1853 | { | |
| 1854 | "type": "integer", | |
| 1855 | "strict_range": { | |
| 1856 | "min": 0 | |
| 1857 | } | |
| 1858 | }, | |
| 1859 | { | |
| 1860 | "type": "string", | |
| 1861 | "possible_values": ["top", "middle", "bottom"] | |
| 1862 | }, | |
| 1863 | { | |
| 1864 | "type": "unit_scalar", | |
| 1865 | "strict_range": { | |
| 1866 | "min": 0, | |
| 1867 | "max": 1 | |
| 1868 | } | |
| 1869 | } | |
| 1870 | ], | |
| 1871 | "2": [ | |
| 1872 | { | |
| 1873 | "type": "integer", | |
| 1874 | "strict_range": { | |
| 1875 | "min": 1 | |
| 1876 | } | |
| 1877 | } | |
| 1878 | ], | |
| 1879 | "3": [ | |
| 1880 | { | |
| 1881 | "type": "integer", | |
| 1882 | "strict_range": { | |
| 1883 | "min": 1 | |
| 1884 | } | |
| 1885 | } | |
| 1886 | ], | |
| 1887 | "type": "list", | |
| 1888 | "length": 4 | |
| 1889 | } | |
| 1890 | ], | |
| 1891 | "url": "https://docs.imgix.com/apis/url/size/rect", | |
| 1892 | "short_description": "Crops an image to a specified rectangle." | |
| 1893 | }, | |
| 1894 | "rot": { | |
| 1895 | "display_name": "rotation", | |
| 1896 | "category": "rotation", | |
| 1897 | "available_in": ["url", "graph"], | |
| 1898 | "expects": [ | |
| 1899 | { | |
| 1900 | "type": "number", | |
| 1901 | "suggested_range": { | |
| 1902 | "min": 0, | |
| 1903 | "max": 359 | |
| 1904 | } | |
| 1905 | } | |
| 1906 | ], | |
| 1907 | "default": 0, | |
| 1908 | "url": "https://docs.imgix.com/apis/url/rotation/rot", | |
| 1909 | "short_description": "Rotates an image by a specified number of degrees." | |
| 1910 | }, | |
| 1911 | "sat": { | |
| 1912 | "display_name": "saturation", | |
| 1913 | "category": "adjustment", | |
| 1914 | "available_in": ["url", "graph"], | |
| 1915 | "expects": [ | |
| 1916 | { | |
| 1917 | "type": "integer", | |
| 1918 | "suggested_range": { | |
| 1919 | "min": -100, | |
| 1920 | "max": 100 | |
| 1921 | } | |
| 1922 | } | |
| 1923 | ], | |
| 1924 | "default": 0, | |
| 1925 | "url": "https://docs.imgix.com/apis/url/adjustment/sat", | |
| 1926 | "short_description": "Adjusts the saturation of an image." | |
| 1927 | }, | |
| 1928 | "sepia": { | |
| 1929 | "display_name": "sepia tone", | |
| 1930 | "category": "stylize", | |
| 1931 | "available_in": ["url", "graph"], | |
| 1932 | "expects": [ | |
| 1933 | { | |
| 1934 | "type": "integer", | |
| 1935 | "suggested_range": { | |
| 1936 | "min": 0, | |
| 1937 | "max": 100 | |
| 1938 | } | |
| 1939 | } | |
| 1940 | ], | |
| 1941 | "default": 0, | |
| 1942 | "url": "https://docs.imgix.com/apis/url/stylize/sepia", | |
| 1943 | "short_description": "Applies a sepia effect to an image." | |
| 1944 | }, | |
| 1945 | "shad": { | |
| 1946 | "display_name": "shadow", | |
| 1947 | "category": "adjustment", | |
| 1948 | "available_in": ["url", "graph"], | |
| 1949 | "expects": [ | |
| 1950 | { | |
| 1951 | "type": "number", | |
| 1952 | "suggested_range": { | |
| 1953 | "min": 0, | |
| 1954 | "max": 100 | |
| 1955 | } | |
| 1956 | } | |
| 1957 | ], | |
| 1958 | "default": 0, | |
| 1959 | "url": "https://docs.imgix.com/apis/url/adjustment/shad", | |
| 1960 | "short_description": "Adjusts the highlights of the source image." | |
| 1961 | }, | |
| 1962 | "sharp": { | |
| 1963 | "display_name": "sharpen", | |
| 1964 | "category": "adjustment", | |
| 1965 | "available_in": ["url", "graph"], | |
| 1966 | "expects": [ | |
| 1967 | { | |
| 1968 | "type": "number", | |
| 1969 | "suggested_range": { | |
| 1970 | "min": 0, | |
| 1971 | "max": 100 | |
| 1972 | } | |
| 1973 | } | |
| 1974 | ], | |
| 1975 | "default": 0, | |
| 1976 | "url": "https://docs.imgix.com/apis/url/adjustment/sharp", | |
| 1977 | "short_description": "Adjusts the sharpness of the source image." | |
| 1978 | }, | |
| 1979 | "transparency": { | |
| 1980 | "display_name": "transparency", | |
| 1981 | "category": "fill", | |
| 1982 | "available_in": ["url"], | |
| 1983 | "expects": [ | |
| 1984 | { | |
| 1985 | "type": "string", | |
| 1986 | "possible_values": ["grid"] | |
| 1987 | } | |
| 1988 | ], | |
| 1989 | "url": "https://docs.imgix.com/apis/url/fill/transparency", | |
| 1990 | "short_description": "Adds checkerboard behind images which support transparency." | |
| 1991 | }, | |
| 1992 | "trim-color": { | |
| 1993 | "display_name": "trim color", | |
| 1994 | "category": "trim", | |
| 1995 | "available_in": ["url", "graph"], | |
| 1996 | "expects": [ | |
| 1997 | { | |
| 1998 | "type": "hex_color" | |
| 1999 | }, | |
| 2000 | { | |
| 2001 | "type": "color_keyword" | |
| 2002 | } | |
| 2003 | ], | |
| 2004 | "aliases": ["trimcolor"], | |
| 2005 | "depends": ["trim=color"], | |
| 2006 | "url": "https://docs.imgix.com/apis/url/trim/trim-color", | |
| 2007 | "short_description": "Specifies a trim color on a trim operation." | |
| 2008 | }, | |
| 2009 | "trim-md": { | |
| 2010 | "display_name": "trim mean difference", | |
| 2011 | "category": "trim", | |
| 2012 | "available_in": ["url", "graph"], | |
| 2013 | "expects": [ | |
| 2014 | { | |
| 2015 | "type": "number", | |
| 2016 | "suggested_range": { | |
| 2017 | "min": 0 | |
| 2018 | } | |
| 2019 | } | |
| 2020 | ], | |
| 2021 | "aliases": ["trimmd"], | |
| 2022 | "default": 11, | |
| 2023 | "depends": ["trim=auto"], | |
| 2024 | "url": "https://docs.imgix.com/apis/url/trim/trim-md", | |
| 2025 | "short_description": "Specifies the mean difference on a trim operation." | |
| 2026 | }, | |
| 2027 | "trim-pad": { | |
| 2028 | "display_name": "trim padding", | |
| 2029 | "category": "trim", | |
| 2030 | "available_in": ["url"], | |
| 2031 | "expects": [ | |
| 2032 | { | |
| 2033 | "type": "integer", | |
| 2034 | "suggested_range": { | |
| 2035 | "min": 0 | |
| 2036 | } | |
| 2037 | } | |
| 2038 | ], | |
| 2039 | "default": 0, | |
| 2040 | "aliases": ["trimpad"], | |
| 2041 | "depends": ["trim"], | |
| 2042 | "url": "https://docs.imgix.com/apis/url/trim/trim-pad", | |
| 2043 | "short_description": "Pads the area of the source image before trimming." | |
| 2044 | }, | |
| 2045 | "trim-sd": { | |
| 2046 | "display_name": "trim standard deviation", | |
| 2047 | "category": "trim", | |
| 2048 | "available_in": ["url", "graph"], | |
| 2049 | "expects": [ | |
| 2050 | { | |
| 2051 | "type": "number", | |
| 2052 | "suggested_range": { | |
| 2053 | "min": 0 | |
| 2054 | } | |
| 2055 | } | |
| 2056 | ], | |
| 2057 | "aliases": ["trimsd"], | |
| 2058 | "default": 10, | |
| 2059 | "depends": ["trim=auto"], | |
| 2060 | "url": "https://docs.imgix.com/apis/url/trim/trim-sd", | |
| 2061 | "short_description": "Specifies the standard deviation on a trim operation." | |
| 2062 | }, | |
| 2063 | "trim-tol": { | |
| 2064 | "display_name": "trim tolerance", | |
| 2065 | "category": "trim", | |
| 2066 | "available_in": ["url", "graph"], | |
| 2067 | "expects": [ | |
| 2068 | { | |
| 2069 | "type": "number", | |
| 2070 | "suggested_range": { | |
| 2071 | "min": 0 | |
| 2072 | } | |
| 2073 | } | |
| 2074 | ], | |
| 2075 | "aliases": ["trimtol"], | |
| 2076 | "default": 0, | |
| 2077 | "depends": ["trim=color"], | |
| 2078 | "url": "https://docs.imgix.com/apis/url/trim/trim-tol", | |
| 2079 | "short_description": "Specifies the tolerance on a trim operation." | |
| 2080 | }, | |
| 2081 | "trim": { | |
| 2082 | "display_name": "trim image", | |
| 2083 | "category": "trim", | |
| 2084 | "available_in": ["url", "graph"], | |
| 2085 | "expects": [ | |
| 2086 | { | |
| 2087 | "type": "string", | |
| 2088 | "possible_values": ["auto", "color"] | |
| 2089 | } | |
| 2090 | ], | |
| 2091 | "url": "https://docs.imgix.com/apis/url/trim/trim", | |
| 2092 | "short_description": "Trims the source image." | |
| 2093 | }, | |
| 2094 | "txt-align": { | |
| 2095 | "display_name": "text align", | |
| 2096 | "category": "text", | |
| 2097 | "available_in": ["url"], | |
| 2098 | "expects": [ | |
| 2099 | { | |
| 2100 | "type": "list", | |
| 2101 | "possible_values": [ | |
| 2102 | "top", | |
| 2103 | "middle", | |
| 2104 | "bottom", | |
| 2105 | "left", | |
| 2106 | "center", | |
| 2107 | "right" | |
| 2108 | ] | |
| 2109 | } | |
| 2110 | ], | |
| 2111 | "aliases": ["txtalign", "ta"], | |
| 2112 | "depends": ["txt"], | |
| 2113 | "url": "https://docs.imgix.com/apis/url/text/txt-align", | |
| 2114 | "short_description": "Sets the vertical and horizontal alignment of rendered text relative to the base image." | |
| 2115 | }, | |
| 2116 | "txt-clip": { | |
| 2117 | "display_name": "text clipping mode", | |
| 2118 | "category": "text", | |
| 2119 | "available_in": ["url"], | |
| 2120 | "expects": [ | |
| 2121 | { | |
| 2122 | "type": "list", | |
| 2123 | "possible_values": ["start", "middle", "end", "ellipsis"] | |
| 2124 | } | |
| 2125 | ], | |
| 2126 | "default": "end", | |
| 2127 | "aliases": ["txtclip", "tcl"], | |
| 2128 | "depends": ["txt"], | |
| 2129 | "url": "https://docs.imgix.com/apis/url/text/txt-clip", | |
| 2130 | "short_description": "Sets the clipping properties of rendered text." | |
| 2131 | }, | |
| 2132 | "txt-color": { | |
| 2133 | "display_name": "text color", | |
| 2134 | "category": "text", | |
| 2135 | "available_in": ["url"], | |
| 2136 | "expects": [ | |
| 2137 | { | |
| 2138 | "type": "hex_color" | |
| 2139 | }, | |
| 2140 | { | |
| 2141 | "type": "color_keyword" | |
| 2142 | } | |
| 2143 | ], | |
| 2144 | "aliases": ["txtcolor", "txt-clr", "txtclr", "tc"], | |
| 2145 | "depends": ["txt"], | |
| 2146 | "url": "https://docs.imgix.com/apis/url/text/txt-color", | |
| 2147 | "short_description": "Specifies the color of rendered text." | |
| 2148 | }, | |
| 2149 | "txt-fit": { | |
| 2150 | "display_name": "text fit mode", | |
| 2151 | "category": "text", | |
| 2152 | "available_in": ["url"], | |
| 2153 | "expects": [ | |
| 2154 | { | |
| 2155 | "type": "string", | |
| 2156 | "possible_values": ["max"] | |
| 2157 | } | |
| 2158 | ], | |
| 2159 | "aliases": ["txtfit"], | |
| 2160 | "depends": ["txt"], | |
| 2161 | "url": "https://docs.imgix.com/apis/url/text/txt-fit", | |
| 2162 | "short_description": "Specifies the fit approach for rendered text." | |
| 2163 | }, | |
| 2164 | "txt-font": { | |
| 2165 | "display_name": "text font", | |
| 2166 | "category": "text", | |
| 2167 | "available_in": ["url"], | |
| 2168 | "expects": [ | |
| 2169 | { | |
| 2170 | "type": "font" | |
| 2171 | } | |
| 2172 | ], | |
| 2173 | "aliases": ["tf", "txtfont"], | |
| 2174 | "depends": ["txt"], | |
| 2175 | "url": "https://docs.imgix.com/apis/url/text/txt-font", | |
| 2176 | "short_description": "Selects a font for rendered text." | |
| 2177 | }, | |
| 2178 | "txt-lead": { | |
| 2179 | "display_name": "text leading", | |
| 2180 | "category": "typesetting", | |
| 2181 | "available_in": ["url"], | |
| 2182 | "expects": [ | |
| 2183 | { | |
| 2184 | "type": "integer", | |
| 2185 | "suggested_range": { | |
| 2186 | "min": 0 | |
| 2187 | } | |
| 2188 | } | |
| 2189 | ], | |
| 2190 | "aliases": ["txtlead"], | |
| 2191 | "default": 0, | |
| 2192 | "depends": ["txt"], | |
| 2193 | "url": "https://docs.imgix.com/apis/url/typesetting/txt-lead", | |
| 2194 | "short_description": "Sets the leading (line spacing) for rendered text. Only works on the multi-line text endpoint." | |
| 2195 | }, | |
| 2196 | "txt-lig": { | |
| 2197 | "display_name": "text ligatures", | |
| 2198 | "category": "text", | |
| 2199 | "available_in": ["url"], | |
| 2200 | "expects": [ | |
| 2201 | { | |
| 2202 | "type": "integer", | |
| 2203 | "possible_values": [0, 1, 2] | |
| 2204 | } | |
| 2205 | ], | |
| 2206 | "aliases": ["txtlig"], | |
| 2207 | "depends": ["txt"], | |
| 2208 | "url": "https://docs.imgix.com/apis/url/text/txt-lig", | |
| 2209 | "short_description": "Controls the level of ligature substitution" | |
| 2210 | }, | |
| 2211 | "txt-line-color": { | |
| 2212 | "display_name": "text outline color", | |
| 2213 | "category": "text", | |
| 2214 | "available_in": ["url"], | |
| 2215 | "expects": [ | |
| 2216 | { | |
| 2217 | "type": "hex_color" | |
| 2218 | }, | |
| 2219 | { | |
| 2220 | "type": "color_keyword" | |
| 2221 | } | |
| 2222 | ], | |
| 2223 | "default": "fff", | |
| 2224 | "aliases": ["txtlinecolor", "txt-line-clr", "txtlineclr"], | |
| 2225 | "depends": ["txt", "txtline"], | |
| 2226 | "url": "https://docs.imgix.com/apis/url/text/txt-line-color", | |
| 2227 | "short_description": "Specifies a text outline color." | |
| 2228 | }, | |
| 2229 | "txt-line": { | |
| 2230 | "display_name": "text outline", | |
| 2231 | "category": "text", | |
| 2232 | "available_in": ["url"], | |
| 2233 | "expects": [ | |
| 2234 | { | |
| 2235 | "type": "integer", | |
| 2236 | "suggested_range": { | |
| 2237 | "min": 0 | |
| 2238 | } | |
| 2239 | } | |
| 2240 | ], | |
| 2241 | "default": 0, | |
| 2242 | "aliases": ["txtline", "tl"], | |
| 2243 | "depends": ["txt"], | |
| 2244 | "url": "https://docs.imgix.com/apis/url/text/txt-line", | |
| 2245 | "short_description": "Outlines the rendered text with a specified color." | |
| 2246 | }, | |
| 2247 | "txt-pad": { | |
| 2248 | "display_name": "text padding", | |
| 2249 | "category": "text", | |
| 2250 | "available_in": ["url"], | |
| 2251 | "expects": [ | |
| 2252 | { | |
| 2253 | "type": "integer", | |
| 2254 | "default": 10, | |
| 2255 | "suggested_range": { | |
| 2256 | "min": 0 | |
| 2257 | } | |
| 2258 | } | |
| 2259 | ], | |
| 2260 | "aliases": ["txtpad", "tp"], | |
| 2261 | "depends": ["txt"], | |
| 2262 | "url": "https://docs.imgix.com/apis/url/text/txt-pad", | |
| 2263 | "short_description": "Specifies the padding (in device-independent pixels) between a textbox and the edges of the base image." | |
| 2264 | }, | |
| 2265 | "txt-shad": { | |
| 2266 | "display_name": "text shadow", | |
| 2267 | "category": "text", | |
| 2268 | "available_in": ["url"], | |
| 2269 | "expects": [ | |
| 2270 | { | |
| 2271 | "type": "number", | |
| 2272 | "suggested_range": { | |
| 2273 | "min": 0, | |
| 2274 | "max": 10 | |
| 2275 | } | |
| 2276 | } | |
| 2277 | ], | |
| 2278 | "default": 0, | |
| 2279 | "aliases": ["txtshad", "tsh"], | |
| 2280 | "depends": ["txt"], | |
| 2281 | "url": "https://docs.imgix.com/apis/url/text/txt-shad", | |
| 2282 | "short_description": "Applies a shadow to rendered text." | |
| 2283 | }, | |
| 2284 | "txt-size": { | |
| 2285 | "display_name": "text font size", | |
| 2286 | "category": "text", | |
| 2287 | "available_in": ["url"], | |
| 2288 | "expects": [ | |
| 2289 | { | |
| 2290 | "type": "integer", | |
| 2291 | "suggested_range": { | |
| 2292 | "min": 0 | |
| 2293 | } | |
| 2294 | } | |
| 2295 | ], | |
| 2296 | "default": 12, | |
| 2297 | "aliases": ["tsz", "txtsize"], | |
| 2298 | "depends": ["txt"], | |
| 2299 | "url": "https://docs.imgix.com/apis/url/text/txt-size", | |
| 2300 | "short_description": "Sets the font size of rendered text." | |
| 2301 | }, | |
| 2302 | "txt-track": { | |
| 2303 | "display_name": "text tracking", | |
| 2304 | "category": "typesetting", | |
| 2305 | "available_in": ["url"], | |
| 2306 | "expects": [ | |
| 2307 | { | |
| 2308 | "type": "integer", | |
| 2309 | "suggested_range": { | |
| 2310 | "min": -4 | |
| 2311 | } | |
| 2312 | } | |
| 2313 | ], | |
| 2314 | "default": 0, | |
| 2315 | "aliases": ["txttrack", "tt"], | |
| 2316 | "depends": ["txt"], | |
| 2317 | "url": "https://docs.imgix.com/apis/url/typesetting/txt-track", | |
| 2318 | "short_description": "Sets the tracking (letter spacing) for rendered text. Only works on the multi-line text endpoint." | |
| 2319 | }, | |
| 2320 | "txt-width": { | |
| 2321 | "display_name": "text width", | |
| 2322 | "category": "text", | |
| 2323 | "available_in": ["url"], | |
| 2324 | "expects": [ | |
| 2325 | { | |
| 2326 | "type": "integer", | |
| 2327 | "suggested_range": { | |
| 2328 | "min": 0 | |
| 2329 | } | |
| 2330 | } | |
| 2331 | ], | |
| 2332 | "aliases": ["txtwidth"], | |
| 2333 | "depends": ["txt"], | |
| 2334 | "url": "https://docs.imgix.com/apis/url/text/txt-width", | |
| 2335 | "short_description": "Sets the width of rendered text." | |
| 2336 | }, | |
| 2337 | "txt": { | |
| 2338 | "display_name": "text string", | |
| 2339 | "category": "text", | |
| 2340 | "available_in": ["url"], | |
| 2341 | "expects": [ | |
| 2342 | { | |
| 2343 | "type": "string" | |
| 2344 | } | |
| 2345 | ], | |
| 2346 | "aliases": ["t"], | |
| 2347 | "url": "https://docs.imgix.com/apis/url/text/txt", | |
| 2348 | "short_description": "Sets the text string to render." | |
| 2349 | }, | |
| 2350 | "usm": { | |
| 2351 | "display_name": "unsharp mask", | |
| 2352 | "category": "adjustment", | |
| 2353 | "available_in": ["url", "graph"], | |
| 2354 | "expects": [ | |
| 2355 | { | |
| 2356 | "type": "integer", | |
| 2357 | "suggested_range": { | |
| 2358 | "min": -100, | |
| 2359 | "max": 100 | |
| 2360 | } | |
| 2361 | } | |
| 2362 | ], | |
| 2363 | "default": 0, | |
| 2364 | "url": "https://docs.imgix.com/apis/url/adjustment/usm", | |
| 2365 | "short_description": "Sharpens the source image using an unsharp mask." | |
| 2366 | }, | |
| 2367 | "usmrad": { | |
| 2368 | "display_name": "unsharp mask radius", | |
| 2369 | "category": "adjustment", | |
| 2370 | "available_in": ["url", "graph"], | |
| 2371 | "expects": [ | |
| 2372 | { | |
| 2373 | "type": "number", | |
| 2374 | "suggested_range": { | |
| 2375 | "min": 0 | |
| 2376 | } | |
| 2377 | } | |
| 2378 | ], | |
| 2379 | "default": 2.5, | |
| 2380 | "depends": ["usm"], | |
| 2381 | "url": "https://docs.imgix.com/apis/url/adjustment/usmrad", | |
| 2382 | "short_description": "Specifies the radius for an unsharp mask operation." | |
| 2383 | }, | |
| 2384 | "vib": { | |
| 2385 | "display_name": "vibrance", | |
| 2386 | "category": "adjustment", | |
| 2387 | "available_in": ["url", "graph"], | |
| 2388 | "expects": [ | |
| 2389 | { | |
| 2390 | "type": "integer", | |
| 2391 | "suggested_range": { | |
| 2392 | "min": -100, | |
| 2393 | "max": 100 | |
| 2394 | } | |
| 2395 | } | |
| 2396 | ], | |
| 2397 | "default": 0, | |
| 2398 | "url": "https://docs.imgix.com/apis/url/adjustment/vib", | |
| 2399 | "short_description": "Adjusts the vibrance of an image." | |
| 2400 | }, | |
| 2401 | "w": { | |
| 2402 | "display_name": "image width", | |
| 2403 | "category": "size", | |
| 2404 | "available_in": ["url", "graph"], | |
| 2405 | "expects": [ | |
| 2406 | { | |
| 2407 | "type": "integer", | |
| 2408 | "strict_range": { | |
| 2409 | "min": 2, | |
| 2410 | "max": 8192 | |
| 2411 | } | |
| 2412 | }, | |
| 2413 | { | |
| 2414 | "type": "unit_scalar", | |
| 2415 | "strict_range": { | |
| 2416 | "min": 0, | |
| 2417 | "max": 1 | |
| 2418 | } | |
| 2419 | } | |
| 2420 | ], | |
| 2421 | "aliases": ["width"], | |
| 2422 | "url": "https://docs.imgix.com/apis/url/size/w", | |
| 2423 | "short_description": "Adjusts the width of the output image." | |
| 2424 | } | |
| 2425 | } | |
| 2426 | } | |
| @@ -2,14 +2,27 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Meema\MeemaClient\Traits; |
| 4 | 4 | |
| 5 | use BadMethodCallException; | |
| 5 | 6 | use Meema\MeemaClient\Exceptions\FeatureNotImplementedException; |
| 6 | 7 | |
| 7 | 8 | trait DetectsFeature |
| 8 | 9 | { |
| 9 | 10 | public function __call($name, $arguments) |
| 10 | 11 | { |
| 11 | if (! method_exists($this, $name)) { | |
| 12 | $data = file_get_contents(dirname(dirname(__DIR__)).'/data/params.json'); | |
| 13 | ||
| 14 | $data = json_decode($data, true); | |
| 15 | ||
| 16 | $params = array_keys($data['parameters']); | |
| 17 | ||
| 18 | if (! method_exists($this, $name) && in_array($name, $params)) { | |
| 12 | 19 | throw new FeatureNotImplementedException('Feature not yet implemented. Please contact us if this is something you would like to see rather sooner than later.'); |
| 13 | 20 | } |
| 21 | ||
| 22 | if (! method_exists($this, $name)) { | |
| 23 | throw new BadMethodCallException(sprintf( | |
| 24 | 'Call to undefined method %s::%s()', static::class, $name | |
| 25 | )); | |
| 26 | } | |
| 14 | 27 | } |
| 15 | 28 | } |