Add some clarification on the difference between 'scale' and 'crop' resize methods

This commit is contained in:
David Baker 2015-10-23 11:57:15 +01:00
parent f0c74a9c83
commit 01064369a4

View file

@ -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 the requested size. The client should scale the image if it needs to fit
within a given rectangle. 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 Server behaviour
---------------- ----------------