mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 02:50:15 +02:00
Doc refresh for #1077
This commit is contained in:
parent
573836e2b8
commit
ebae68d579
@ -163,6 +163,7 @@ Returns **Sharp**
|
||||
Do not enlarge the output image if the input image width _or_ height are already less than the required dimensions.
|
||||
This is equivalent to GraphicsMagick's `>` geometry option:
|
||||
"_change the dimensions of the image only if its width or height exceeds the geometry specification_".
|
||||
Use with `max()` to preserve the image's aspect ratio.
|
||||
|
||||
The default behaviour _before_ function call is `false`, meaning the image will be enlarged.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user