public static function addAlpha($image, $isBlend = true)
    {
        imagesavealpha($image, true);
        imagealphablending($image, $isBlend);
    }
public static function addAlpha($image, $isBlend = true)
    {
        imagesavealpha($image, true);
        imagealphablending($image, $isBlend);
    }
public static function addAlpha ( $ image , $ isBlend = true ) { imagesavealpha ( $ image , true ) ; imagealphablending ( $ image , $ isBlend ) ; }
Add alpha chanel to image resource

@param mixed $image   Image GD resource
@param bool  $isBlend Add alpha blending
Add alpha chanel to image resource