Imgix APIsVideo APIWatermarkWatermark Transition

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.

ValueEntranceMirrored exit
fadeFades in from transparentFades out
slideupSlides in from belowSlides out downward
slidedownSlides in from aboveSlides out upward
slideleftSlides in from the rightSlides out to the right
sliderightSlides in from the leftSlides out to the left