Imgix APIsRendering APIWatermarkWatermark Gradient Alpha

Watermark Gradient Alpha

mark-gradient-alpha

The mark-gradient-alpha parameter sets the overlay’s opacity as a whole, from 0 to 100. It defaults to 100.

This is separate from the alpha built into each color. Use the colors’ own alpha to shape the gradient — where it is strong and where it is clear — and mark-gradient-alpha to dial the finished overlay up or down without editing every color.

It is also separate from the watermark’s own transparency: on a watermark, mark-alpha is applied first, and the gradient is drawn on top of the result.

The default, 100
https://assets.imgix.net/docs/rendering-api/food-plate.jpg?w=600&h=400&fit=crop&mark=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fbluehat.jpg&mark-w=220&mark-align=bottom,center&mark-gradient=cc000000,00000000
cc000000,00000000