forked from thumbor/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
Round corners
heynemann edited this page Dec 14, 2011
·
2 revisions
Usage: round_corners(a|b,r,g,b)
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 ellipse used for the radius.
- http://thumbor-server/filters:round_corners(20,255,255,255)/some/image.jpg
- http://thumbor-server/filters:round_corners(20|40,0,0,0)/some/image.jpg
Picture before the rounded corners filter
Picture after rounded corners