Imgix APIsRendering APIWatermarkWatermark Drop Shadow Elevation

Watermark Drop Shadow Elevation

mark-drop-shadow-elevation

The mark-drop-shadow-elevation parameter sets the light’s angle above the floor. Valid values run from 5 to 90, and it defaults to 45.

Lower is longer: at 5 the shadow stops at twice the watermark’s height, the long raking shadow of a low sun. At 90 the light is directly overhead and the shadow collapses beneath the subject.

It applies to mark-drop-shadow-type=cast only.

Because a watermark’s shadow never grows the canvas, a low elevation on a watermark near the edge of the picture will simply run off it and be clipped.

The default, 45
https://assets.imgix.net/examples/clouds.jpg?w=600&h=400&fit=crop&blur=2000&sat=-100&bri=-35&mark=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fblue-pineapple-no-background.png&mark-w=300&mark-align=bottom,center&mark-y=20&mark-drop-shadow=6&mark-drop-shadow-type=cast
Default