Mask Background Color
mask-bg
Sets what fills the area outside the mask shape. Valid values are any Imgix color.
Without mask-bg, the area outside the mask is white on an opaque still and transparent on a still with alpha. On an opaque still the value’s alpha channel is dropped.
Alias: maskbg.
mask applies to still frames only. Video, animations and spritesheets draw no mask.
Examples
Each example renders a still of the same video.
Without
mask-bg, the area outside the mask is white on an opaque still.https://assets.imgix.net/Croatia.mp4?w=600&fm=jpg&mask=ellipse
Default
Default