From 01064369a450210ea7780fb1c4b4819125aaa160 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 23 Oct 2015 11:57:15 +0100 Subject: [PATCH] Add some clarification on the difference between 'scale' and 'crop' resize methods --- specification/modules/content_repo.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/modules/content_repo.rst b/specification/modules/content_repo.rst index 52937ead..fd797b2c 100644 --- a/specification/modules/content_repo.rst +++ b/specification/modules/content_repo.rst @@ -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 ----------------