feature: min

This commit is contained in:
Linus Unnebäck
2015-02-27 13:43:37 +01:00
parent 749dc61f85
commit bcd82f4893
5 changed files with 82 additions and 19 deletions

View File

@@ -332,6 +332,12 @@ Preserving aspect ratio, resize the image to the maximum `width` or `height` spe
Both `width` and `height` must be provided via `resize` otherwise the behaviour will default to `crop`.
#### min()
Preserving aspect ratio, resize the image to the minimum `width` or `height` specified.
Both `width` and `height` must be provided via `resize` otherwise the behaviour will default to `crop`.
#### background(rgba)
Set the background for the `embed` and `flatten` operations.