public static frame ( string | resource | Imagine\Image\ImageInterface $image, integer $margin = 20, string $color = '666', integer $alpha = 100 ) : Imagine\Image\ImageInterface | ||
$image | string | resource | Imagine\Image\ImageInterface | either ImageInterface, resource or a string containing file path |
$margin | integer | the frame size to add around the image |
$color | string | the frame color |
$alpha | integer | the alpha value of the frame. |
return | Imagine\Image\ImageInterface |