mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-13 19:13:43 +01:00
Merge pull request #124 from matrix-org/clarify_scale_crop
Clarify 'scale' & 'crop' resize methods
This commit is contained in:
commit
4823a133cd
|
|
@ -36,6 +36,10 @@ width and height are close to the requested size and the aspect matches
|
|||
the requested size. The client should scale the image if it needs to fit
|
||||
within a given rectangle.
|
||||
|
||||
In summary:
|
||||
* "scale" maintains the original aspect ratio of the image
|
||||
* "crop" provides an image in the aspect ratio of the sizes given in the request
|
||||
|
||||
Server behaviour
|
||||
----------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue