Round corners

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


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


  • 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.