Merge pull request #124 from matrix-org/clarify_scale_crop

Clarify 'scale' & 'crop' resize methods
pull/977/head
Kegsay 9 years ago
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…
Cancel
Save