Mask Invert
mask-invert
Inverts the mask, removing the shape and keeping everything else. The result is exactly 1 minus the mask.
mask-invert takes a boolean. true and 1 both enable it, and other truthy spellings are accepted. The default is false.
Use mask-invert to punch a hole in a still frame rather than cut it to a shape.
mask applies to still frames only. Video, animations and spritesheets draw no mask.
Examples
Each example renders a still of the same video.
mask=ellipse alone keeps the inside of the shape.https://assets.imgix.net/Croatia.mp4?w=600&fm=png&mask=ellipse
Default
Without mask-invert