Docs: clarify composite operation ordering #4288

This commit is contained in:
Lovell Fuller 2024-12-05 12:34:54 +00:00
parent bee1fbaa34
commit 82dc859a49
2 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@ 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, rotate or extract operations in the same processing pipeline Other operations in the same processing pipeline (e.g. resize, rotate, flip,
will always be applied to the input image before composition. flop, extract) 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`,
`dest`, `dest-over`, `dest-in`, `dest-out`, `dest-atop`, `dest`, `dest-over`, `dest-in`, `dest-out`, `dest-atop`,

View File

@ -46,8 +46,8 @@ 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, rotate or extract operations in the same processing pipeline * Other operations in the same processing pipeline (e.g. resize, rotate, flip,
* will always be applied to the input image before composition. * flop, extract) 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`,
* `dest`, `dest-over`, `dest-in`, `dest-out`, `dest-atop`, * `dest`, `dest-over`, `dest-in`, `dest-out`, `dest-atop`,