Controls the visible and non-visible area of the image.

Mask type &mask=

Sets the mask type from a predefined list of shapes.

More info: Issue #49 - Add circle effect to photos.

Valid shapes:

  • circle
  • ellipse
  • triangle
  • triangle-180: Triangle tilted upside down
  • pentagon
  • pentagon-180: Pentagon tilted upside down
  • hexagon
  • square: Square tilted 45 degrees
  • star: 5-point star
  • heart
<img src="//">
![Mask type](
Mask type

Mask trim &mtrim

Removes the remaining whitespace from the mask.

<img src="//">
![Mask trim](
Mask trim

Mask background &mbg=

Sets the background color of the mask. See here for the supported color formats.

<img src="//">
![Mask background](
Mask background