You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ ex:%extend:%gravity
203
203
```
204
204
205
205
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
206
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
206
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
207
207
208
208
Default: `false:ce:0:0`
209
209
@@ -216,7 +216,7 @@ exar:%extend:%gravity
216
216
```
217
217
218
218
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
219
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
219
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
220
220
221
221
Default: `false:ce:0:0`
222
222
@@ -250,7 +250,7 @@ Default: `ce:0:0`
250
250
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
251
251
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects. Also, you can use the `all` pseudo-class to use all the detected objects.
252
252
*`gravity:objw:%class_name1:%class_weight1:%class_name2:%class_weight2:...:%class_nameN:%class_weightN`: ((pro)) object-oriented gravity with weights. The same as `gravity:obj` but with custom weights for each class. You can use the `all` pseudo-class to set the weight for all the detected objects. For example, `gravity:objw:all:2:face:3` will set the weight of all the detected objects to `2` and the weight of the detected faces to `3`. The default weight is `1`.
253
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
253
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.19.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ ex:%extend:%gravity
193
193
```
194
194
195
195
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
196
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
196
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
197
197
198
198
Default: `false:ce:0:0`
199
199
@@ -206,7 +206,7 @@ exar:%extend:%gravity
206
206
```
207
207
208
208
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
209
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
209
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
210
210
211
211
Default: `false:ce:0:0`
212
212
@@ -237,7 +237,7 @@ Default: `ce:0:0`
237
237
238
238
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
239
239
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
240
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
240
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.20.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ ex:%extend:%gravity
193
193
```
194
194
195
195
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
196
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
196
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
197
197
198
198
Default: `false:ce:0:0`
199
199
@@ -206,7 +206,7 @@ exar:%extend:%gravity
206
206
```
207
207
208
208
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
209
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
209
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
210
210
211
211
Default: `false:ce:0:0`
212
212
@@ -237,7 +237,7 @@ Default: `ce:0:0`
237
237
238
238
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
239
239
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
240
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
240
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.21.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ ex:%extend:%gravity
193
193
```
194
194
195
195
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
196
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
196
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
197
197
198
198
Default: `false:ce:0:0`
199
199
@@ -206,7 +206,7 @@ exar:%extend:%gravity
206
206
```
207
207
208
208
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
209
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
209
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
210
210
211
211
Default: `false:ce:0:0`
212
212
@@ -237,7 +237,7 @@ Default: `ce:0:0`
237
237
238
238
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
239
239
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
240
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
240
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.22.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ ex:%extend:%gravity
193
193
```
194
194
195
195
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
196
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
196
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
197
197
198
198
Default: `false:ce:0:0`
199
199
@@ -206,7 +206,7 @@ exar:%extend:%gravity
206
206
```
207
207
208
208
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
209
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
209
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
210
210
211
211
Default: `false:ce:0:0`
212
212
@@ -239,7 +239,7 @@ Default: `ce:0:0`
239
239
240
240
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
241
241
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
242
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
242
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.23.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ ex:%extend:%gravity
193
193
```
194
194
195
195
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
196
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
196
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
197
197
198
198
Default: `false:ce:0:0`
199
199
@@ -206,7 +206,7 @@ exar:%extend:%gravity
206
206
```
207
207
208
208
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
209
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
209
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
210
210
211
211
Default: `false:ce:0:0`
212
212
@@ -239,7 +239,7 @@ Default: `ce:0:0`
239
239
240
240
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
241
241
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
242
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
242
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.24.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ ex:%extend:%gravity
193
193
```
194
194
195
195
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
196
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
196
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
197
197
198
198
Default: `false:ce:0:0`
199
199
@@ -206,7 +206,7 @@ exar:%extend:%gravity
206
206
```
207
207
208
208
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
209
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
209
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
210
210
211
211
Default: `false:ce:0:0`
212
212
@@ -239,7 +239,7 @@ Default: `ce:0:0`
239
239
240
240
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
241
241
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
242
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
242
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.25.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ ex:%extend:%gravity
203
203
```
204
204
205
205
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
206
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
206
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
207
207
208
208
Default: `false:ce:0:0`
209
209
@@ -216,7 +216,7 @@ exar:%extend:%gravity
216
216
```
217
217
218
218
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
219
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
219
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
220
220
221
221
Default: `false:ce:0:0`
222
222
@@ -249,7 +249,7 @@ Default: `ce:0:0`
249
249
250
250
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
251
251
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
252
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
252
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.26.x/usage/processing.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ ex:%extend:%gravity
203
203
```
204
204
205
205
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image if it is smaller than the given size.
206
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
206
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
207
207
208
208
Default: `false:ce:0:0`
209
209
@@ -216,7 +216,7 @@ exar:%extend:%gravity
216
216
```
217
217
218
218
* When `extend` is set to `1`, `t` or `true`, imgproxy will extend the image to the requested aspect ratio.
219
-
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
219
+
*`gravity`_(optional)_ accepts the same values as the [gravity](#gravity) option, except `sm`, `obj`, and `objw`. When `gravity` is not set, imgproxy will use `ce` gravity without offsets.
220
220
221
221
Default: `false:ce:0:0`
222
222
@@ -250,7 +250,7 @@ Default: `ce:0:0`
250
250
*`gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
251
251
*`gravity:obj:%class_name1:%class_name2:...:%class_nameN`: ((pro)) object-oriented gravity. imgproxy [detects objects](../features/object_detection.mdx) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects. Also, you can use the `all` pseudo-class to use all the detected objects.
252
252
*`gravity:objw:%class_name1:%class_weight1:%class_name2:%class_weight2:...:%class_nameN:%class_weightN`: ((pro)) object-oriented gravity with weights. The same as `gravity:obj` but with custom weights for each class. You can use the `all` pseudo-class to set the weight for all the detected objects. For example, `gravity:objw:all:2:face:3` will set the weight of all the detected objects to `2` and the weight of the detected faces to `3`. The default weight is `1`.
253
-
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
253
+
*`gravity:fp:%x:%y`: the gravity focus point. `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
0 commit comments