From 1329de0fe7b3bc776a4313d20d81f6433a2016dc Mon Sep 17 00:00:00 2001 From: Ryan Vu Date: Wed, 16 Oct 2024 13:08:09 +0900 Subject: [PATCH] [SUPPORT-1114] Adds object-removal --- bower.json | 2 +- dist/parameters.js | 51 +++++++++++++++++++++++++++++++++++++++++++- dist/parameters.json | 51 +++++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- 4 files changed, 102 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index 52c13b4..9a911a2 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "imgix-url-params", - "version": "11.24.1", + "version": "11.25.0", "homepage": "https://github.com/imgix/imgix-url-params", "authors": ["Jason Eberle "], "description": "Organized, machine-friendly documentation of imgix's URL parameters", diff --git a/dist/parameters.js b/dist/parameters.js index 59ee208..a4d5556 100644 --- a/dist/parameters.js +++ b/dist/parameters.js @@ -15,7 +15,7 @@ }(this, function () { return { - "version": "11.24.1", + "version": "11.25.0", "parameters": { "ar": { "display_name": "aspect ratio", @@ -2774,6 +2774,54 @@ return { "url": "https://docs.imgix.com/apis/rendering/noise-reduction/noise-reduction-sharpen", "short_description": "Provides a threshold by which to sharpen an image." }, + "object-removal-rect": { + "display_name": "object removal", + "category": "size", + "available_in": [ + "url", + "graph" + ], + "expects": [ + { + "0": [ + { + "type": "integer", + "strict_range": { + "min": 0 + } + } + ], + "1": [ + { + "type": "integer", + "strict_range": { + "min": 0 + } + } + ], + "2": [ + { + "type": "integer", + "strict_range": { + "min": 1 + } + } + ], + "3": [ + { + "type": "integer", + "strict_range": { + "min": 1 + } + } + ], + "type": "list", + "length": 4 + } + ], + "url": "https://docs.imgix.com/apis/rendering/object-removal", + "short_description": "Using a specified rectangle, an object is removed from the image" + }, "orient": { "display_name": "orientation", "category": "rotation", @@ -3011,6 +3059,7 @@ return { ], "default": 75, "depends": [ + "fm=avif", "fm=jpg", "fm=pjpg", "fm=webp", diff --git a/dist/parameters.json b/dist/parameters.json index 41889e2..07a7b0f 100644 --- a/dist/parameters.json +++ b/dist/parameters.json @@ -1,5 +1,5 @@ { - "version": "11.24.1", + "version": "11.25.0", "parameters": { "ar": { "display_name": "aspect ratio", @@ -2758,6 +2758,54 @@ "url": "https://docs.imgix.com/apis/rendering/noise-reduction/noise-reduction-sharpen", "short_description": "Provides a threshold by which to sharpen an image." }, + "object-removal-rect": { + "display_name": "object removal", + "category": "size", + "available_in": [ + "url", + "graph" + ], + "expects": [ + { + "0": [ + { + "type": "integer", + "strict_range": { + "min": 0 + } + } + ], + "1": [ + { + "type": "integer", + "strict_range": { + "min": 0 + } + } + ], + "2": [ + { + "type": "integer", + "strict_range": { + "min": 1 + } + } + ], + "3": [ + { + "type": "integer", + "strict_range": { + "min": 1 + } + } + ], + "type": "list", + "length": 4 + } + ], + "url": "https://docs.imgix.com/apis/rendering/object-removal", + "short_description": "Using a specified rectangle, an object is removed from the image" + }, "orient": { "display_name": "orientation", "category": "rotation", @@ -2995,6 +3043,7 @@ ], "default": 75, "depends": [ + "fm=avif", "fm=jpg", "fm=pjpg", "fm=webp", diff --git a/package.json b/package.json index b7fd05b..e263c54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "imgix-url-params", - "version": "11.24.1", + "version": "11.25.0", "description": "Organized, machine-friendly documentation of imgix's URL parameters", "main": "dist/manifest.json", "scripts": {