Round corners

Usage: round_corner(a|b,r,g,b,[transparent])

Description

This filter adds rounded corners to the image using the specified color as background.

Arguments

  • a|b - amount of pixels to use as radius. The argument b is not required, but it specifies the second value for the ellipsis used for the radius.
  • transparent - Optional. If set to true/1, the background will be transparent.