Watermark Drop Shadow Type
mark-drop-shadow-type
The mark-drop-shadow-type parameter picks which of the four shadows the watermark casts. It defaults to flat, and an unrecognized value is drawn as flat and left out of the X-Imgix-Params response header.
| Type | Shadow |
|---|---|
flat (default) | The familiar soft CSS-style shadow, offset from the watermark |
cast | A realistic shadow thrown onto the image beneath, as if by a light |
float | A soft oval pool beneath a hovering watermark |
inset | A shadow inside the watermark, for a pressed-in or engraved look |
cast and float are cast from where the watermark sits: the watermark stands on its own lowest opaque row, and the shadow falls onto the picture beneath it. That is the usual way to place a product cut-out into a lifestyle photo.
Nothing reads the photo’s own lighting. Match the light to the scene by eye with mark-drop-shadow-azimuth and mark-drop-shadow-elevation.
An inset shadow is drawn over the watermark and kept inside it. Each type reads only the parameters that apply to it and silently ignores the rest.
The default,
flat — the watermark's own shape, offsethttps://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
