Function imageCreateCorners
ref: http://www.tricksofit.com/2014/08/round-corners-on-image-using-php-and-gd-library
Package: core
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author:
Located at mage.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author:
luciorota lucio.rota@gmail.com, Joe Lencioni joe@shiftingpixel.com
Enhanced image access/edit This enhanced version is very useful in many cases, for example when you need a smallest version of an image. This script uses Xoops cache to minimize server load.
Parameters need to be passed in through the URL's query string:
Located at mage.php
resource |
$sourceImage |
GD Image resource |
int[] |
$radii |
<p>array(top left, top right, bottom left, bottom right) of pixel radius for each corner. A 0 disables rounding on a corner.</p> |
resource
|
resource |