mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02: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