mirror of
https://github.com/lovell/sharp.git
synced 2025-12-06 12:01:41 +01:00
Docs: extract might also be referred to as 'crop'
This commit is contained in:
parent
1eedb22ef5
commit
1d6ef630a5
@ -166,7 +166,7 @@ Returns **Sharp**
|
|||||||
|
|
||||||
## extract
|
## extract
|
||||||
|
|
||||||
Extract a region of the image.
|
Extract/crop a region of the image.
|
||||||
|
|
||||||
- Use `extract` before `resize` for pre-resize extraction.
|
- Use `extract` before `resize` for pre-resize extraction.
|
||||||
- Use `extract` after `resize` for post-resize extraction.
|
- Use `extract` after `resize` for post-resize extraction.
|
||||||
|
|||||||
@ -336,7 +336,7 @@ function extend (extend) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extract a region of the image.
|
* Extract/crop a region of the image.
|
||||||
*
|
*
|
||||||
* - Use `extract` before `resize` for pre-resize extraction.
|
* - Use `extract` before `resize` for pre-resize extraction.
|
||||||
* - Use `extract` after `resize` for post-resize extraction.
|
* - Use `extract` after `resize` for post-resize extraction.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user