Skip to content

Commit b13c208

Browse files
committed
Emphasize that gamut mapping before compositing is currently on the user
1 parent f5eadb8 commit b13c208

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/src/markdown/compositing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ specification. Alpha composting is based on [Porter Duff compositing][porter-duf
1212
used to layer colors on top of each other applying the appropriate compositing, using the `normal` blend mode and the
1313
`source-over` Porter Duff operator by default.
1414

15+
/// tip
16+
The compositing function does not currently manage gamut mapping, so it is recommended to ensure your colors are within
17+
the proper gamut before compositing the colors.
18+
///
19+
1520
/// warning | Deprecated 4.0
1621
[`compose`](./api/index.md#compose) method was deprecated in favor of the new `layer` method and will be removed at some
1722
future time.

0 commit comments

Comments
 (0)