mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 22:40:39 +02:00
Add image cropping parameter to wiki
1 parent
c0cbe7bf12
commit
21330fb111
1 file changed
+4
@@ -10,6 +10,10 @@ GET/HEAD operations are direction http requests to file ids, e.g., `http://127.0
|
||||
| width | if the stored file has ".png", ".jpg", ".jpeg", ".gif", apply resizing | empty |
|
||||
| height | if the stored file has ".png", ".jpg", ".jpeg", ".gif", apply resizing | empty |
|
||||
| mode | if resizing, "fit", or "fill". Or just resizing, unless width==height, which default to thumbnail mode | empty |
|
||||
| crop_x1 | if the stored file has ".png", ".jpg", ".jpeg", ".gif", apply cropping, requires: 0 <= value < image width | empty |
|
||||
| crop_y1 | if the stored file has ".png", ".jpg", ".jpeg", ".gif", apply cropping, requires: 0 <= value < image height | empty |
|
||||
| crop_x2 | if the stored file has ".png", ".jpg", ".jpeg", ".gif", apply cropping, requires: crop_x1 < value <= image width | empty |
|
||||
| crop_y2 | if the stored file has ".png", ".jpg", ".jpeg", ".gif", apply cropping, requires: crop_y1 < value <= image height | empty |
|
||||
|
||||
| Request Header | Description | Default |
|
||||
| ---- | -- | -- |
|
||||
|
||||
Reference in new issue
Block a user