Watermark Transition
mark-transition
Sets the animation for an image watermark when it enters and exits. By default, the exit mirrors the entrance — a slideup slides the watermark in from below and slides it back out to the bottom when it leaves.
mark-transition accepts one or more animation types. Combine a slide with fade (e.g. slideup,fade) to add an opacity ramp on top of the movement. The transition duration defaults to 0.5 seconds and is controlled by mark-transition-dur. To override entrance and exit independently, use mark-transition-in and mark-transition-out. Use mark-transition[N] for a specific watermark layer.
An exit transition requires mark-end to be set.
A bare mark=logo.png without any transition or window parameters renders as a static always-on watermark, exactly as before. Transitions are opt-in.
The mirrored exit reverses the direction of travel — the overlay exits back the way it entered. This differs from setting mark-transition-out explicitly, where slideup exits toward the top of the frame.
| Value | Entrance | Mirrored exit |
|---|---|---|
fade | Fades in from transparent | Fades out |
slideup | Slides in from below | Slides out downward |
slidedown | Slides in from above | Slides out upward |
slideleft | Slides in from the right | Slides out to the right |
slideright | Slides in from the left | Slides out to the left |