mirror of
https://github.com/lovell/sharp.git
synced 2025-07-14 04:40:13 +02:00
Docs: clarify use of extract before composite
This commit is contained in:
parent
93fafb0c18
commit
cc5ac5385f
@ -4,7 +4,7 @@ Composite image(s) over the processed (resized, extracted etc.) image.
|
|||||||
The images to composite must be the same size or smaller than the processed image.
|
The images to composite must be the same size or smaller than the processed image.
|
||||||
If both `top` and `left` options are provided, they take precedence over `gravity`.
|
If both `top` and `left` options are provided, they take precedence over `gravity`.
|
||||||
|
|
||||||
Any resize or rotate operations in the same processing pipeline
|
Any resize, rotate or extract operations in the same processing pipeline
|
||||||
will always be applied to the input image before composition.
|
will always be applied to the input image before composition.
|
||||||
|
|
||||||
The `blend` option can be one of `clear`, `source`, `over`, `in`, `out`, `atop`,
|
The `blend` option can be one of `clear`, `source`, `over`, `in`, `out`, `atop`,
|
||||||
|
@ -46,7 +46,7 @@ const blend = {
|
|||||||
* The images to composite must be the same size or smaller than the processed image.
|
* The images to composite must be the same size or smaller than the processed image.
|
||||||
* If both `top` and `left` options are provided, they take precedence over `gravity`.
|
* If both `top` and `left` options are provided, they take precedence over `gravity`.
|
||||||
*
|
*
|
||||||
* Any resize or rotate operations in the same processing pipeline
|
* Any resize, rotate or extract operations in the same processing pipeline
|
||||||
* will always be applied to the input image before composition.
|
* will always be applied to the input image before composition.
|
||||||
*
|
*
|
||||||
* The `blend` option can be one of `clear`, `source`, `over`, `in`, `out`, `atop`,
|
* The `blend` option can be one of `clear`, `source`, `over`, `in`, `out`, `atop`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user