DarthSim 3 éve
szülő
commit
a24bc637ff
3 módosított fájl, 12 hozzáadás és 12 törlés
  1. 1 1
      docs/autoquality.md
  2. 10 10
      docs/generating_the_url.md
  3. 1 1
      docs/object_detection.md

+ 1 - 1
docs/autoquality.md

@@ -1,4 +1,4 @@
-# Autoquality<i class='badge badge-pro'></i>
+# Autoquality<i class='badge badge-pro'></i><i class='badge badge-v3'></i>
 
 
 imgproxy can calculate quality for your resulting images so they fit the selected metric the best. The supported methods are [none](#none), [size](#autoquality-by-file-size), [dssim](#autoquality-by-dssim), and [ml](#autoquality-with-ml).
 imgproxy can calculate quality for your resulting images so they fit the selected metric the best. The supported methods are [none](#none), [size](#autoquality-by-file-size), [dssim](#autoquality-by-dssim), and [ml](#autoquality-with-ml).
 
 

+ 10 - 10
docs/generating_the_url.md

@@ -56,7 +56,7 @@ Defines how imgproxy will resize the source image. Supported resizing types are:
 
 
 * `fit`: resizes the image while keeping aspect ratio to fit given size;
 * `fit`: resizes the image while keeping aspect ratio to fit given size;
 * `fill`: resizes the image while keeping aspect ratio to fill given size and cropping projecting parts;
 * `fill`: resizes the image while keeping aspect ratio to fill given size and cropping projecting parts;
-* `fill-down`: same as `fill`, but if the resized image is smaller than the requested size, imgproxy will crop the result to keep the requested aspect ratio;
+* `fill-down`: <i class='badge badge-v3'></i> same as `fill`, but if the resized image is smaller than the requested size, imgproxy will crop the result to keep the requested aspect ratio;
 * `force`: resizes the image without keeping aspect ratio;
 * `force`: resizes the image without keeping aspect ratio;
 * `auto`: if both source and resulting dimensions have the same orientation (portrait or landscape), imgproxy will use `fill`. Otherwise, it will use `fit`.
 * `auto`: if both source and resulting dimensions have the same orientation (portrait or landscape), imgproxy will use `fill`. Otherwise, it will use `fit`.
 
 
@@ -95,7 +95,7 @@ Defines the height of the resulting image. When set to `0`, imgproxy will calcul
 
 
 Default: `0`
 Default: `0`
 
 
-### Min width
+### Min width<i class='badge badge-v3'></i> :id=min-width
 
 
 ```
 ```
 min-width:%width
 min-width:%width
@@ -108,7 +108,7 @@ Defines the minimum width of the resulting image.
 
 
 Default: `0`
 Default: `0`
 
 
-### Min height
+### Min height<i class='badge badge-v3'></i> :id=min-height
 
 
 ```
 ```
 min-height:%height
 min-height:%height
@@ -179,9 +179,9 @@ Default: `ce:0:0`
 
 
 **Special gravities**:
 **Special gravities**:
 
 
-* `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;
-* `gravity:obj:%class_name1:%class_name2:...:%class_nameN` - <i class='badge badge-pro'></i> <i class='badge badge-v3'></i> object-oriented gravity. imgproxy [detects objects](object_detection.md) 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.
-* `gravity:fp:%x:%y` - focus point gravity. `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`.
+* `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;
+* `gravity:obj:%class_name1:%class_name2:...:%class_nameN`: <i class='badge badge-pro'></i> <i class='badge badge-v3'></i> object-oriented gravity. imgproxy [detects objects](object_detection.md) 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.
+* `gravity:fp:%x:%y`: focus point gravity. `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`.
 
 
 ### Crop
 ### Crop
 
 
@@ -470,7 +470,7 @@ Redefines quality of the resulting image, percentage. When `0`, quality is assum
 
 
 Default: 0.
 Default: 0.
 
 
-### Format quality
+### Format quality<i class='badge badge-v3'></i> :id=format-quality
 
 
 ```
 ```
 format_quality:%format1:%quality1:%format2:%quality2:...:%formatN:%qualityN
 format_quality:%format1:%quality1:%format2:%quality2:...:%formatN:%qualityN
@@ -479,7 +479,7 @@ fq:%format1:%quality1:%format2:%quality2:...:%formatN:%qualityN
 
 
 Adds or redefines `IMGPROXY_FORMAT_QUALITY` values.
 Adds or redefines `IMGPROXY_FORMAT_QUALITY` values.
 
 
-### Autoquality
+### Autoquality<i class='badge badge-pro'></i><i class='badge badge-v3'></i> :id=autoquality
 
 
 ```
 ```
 autoquality:%method:%target:%min_quality:%max_quality:%allowed_error
 autoquality:%method:%target:%min_quality:%max_quality:%allowed_error
@@ -577,7 +577,7 @@ Where `url` is Base64-encoded URL of the custom fallback image.
 
 
 Default: blank
 Default: blank
 
 
-### Skip processing
+### Skip processing<i class='badge badge-v3'></i> :id=skip-processing
 
 
 ```
 ```
 skip_processing:%extension1:%extension2:...:%extensionN
 skip_processing:%extension1:%extension2:...:%extensionN
@@ -605,7 +605,7 @@ It's highly recommended to prefer `cachebuster` option over URL query string bec
 
 
 Default: empty
 Default: empty
 
 
-### Expires
+### Expires<i class='badge badge-v3'></i> :id=expires
 
 
 ```
 ```
 expires:%timestamp
 expires:%timestamp

+ 1 - 1
docs/object_detection.md

@@ -1,4 +1,4 @@
-# Object detection<i class='badge badge-pro'></i>
+# Object detection<i class='badge badge-pro'></i><i class='badge badge-v3'></i>
 
 
 imgproxy can detect objects on the image and use them for smart crop, bluring the detections, or drawing the detections.
 imgproxy can detect objects on the image and use them for smart crop, bluring the detections, or drawing the detections.