Skip to content

Commit

Permalink
Merge pull request #43 from imgix/SUPPORT-1114-adding-to-imgix-url-pa…
Browse files Browse the repository at this point in the history
…rams

[SUPPORT-1114] Adds object-removal
  • Loading branch information
vuryanh authored Oct 16, 2024
2 parents 5425a44 + 1329de0 commit 760e711
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"],
"description": "Organized, machine-friendly documentation of imgix's URL parameters",
Expand Down
51 changes: 50 additions & 1 deletion dist/parameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}(this, function () {

return {
"version": "11.24.1",
"version": "11.25.0",
"parameters": {
"ar": {
"display_name": "aspect ratio",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -3011,6 +3059,7 @@ return {
],
"default": 75,
"depends": [
"fm=avif",
"fm=jpg",
"fm=pjpg",
"fm=webp",
Expand Down
51 changes: 50 additions & 1 deletion dist/parameters.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "11.24.1",
"version": "11.25.0",
"parameters": {
"ar": {
"display_name": "aspect ratio",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -2995,6 +3043,7 @@
],
"default": 75,
"depends": [
"fm=avif",
"fm=jpg",
"fm=pjpg",
"fm=webp",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 760e711

Please sign in to comment.