Círculo transparente recortado de imagen con PHP

Quiero recortar una imagen de círculo usando PHP pero parece que mi nueva imagen tiene algunos píxeles transparentes. Por supuesto, SOLO quiero que el área exterior de la elipse tenga un fondo transparente

Mi código se enumera a continuación:

        $image = imagecreatetruecolor($this->dst_w, $this->dst_h);
        imagealphablending($image,true);
        imagecopy ( $image , $image_s , 0, 0, $this->src_x, $this->src_y, $this->dst_w, $this->dst_h );
        $mask = imagecreatetruecolor($this->src_x, $this->src_y);
        $mask = imagecreatetruecolor($this->dst_w, $this->dst_h);
        $transparent = imagecolorallocate($mask, 255, 0, 0);
        imagecolortransparent($mask, $transparent);
        imagefilledellipse($mask, $this->dst_w/2, $this->dst_h/2, $this->dst_w, $this->dst_h, $transparent);
        $red = imagecolorallocate($mask, 0, 0, 0);
        imagecopymerge($image, $mask, 0, 0, 0, 0, $this->dst_w, $this->dst_h,100);
        imagecolortransparent($image, $red);
        imagefill($image,0,0, $red);

        if ($ext=="jpg" || $ext=="jpeg") {
            imagejpeg($image, $this->croppedImage);
        } else if ($ext=="png") {
            imagepng($image, $this->croppedImage);
        }           
        imagedestroy($image);
        imagedestroy($mask);
        // <------- END generate cropped Image ------->

        // <------- START generate transparent Image ------->               
        $this->generateTransparentImage('circle');

......

Un ejemplo de la imagen real generada es aquí:

EDITAR: la función generateTransparentImage no tiene nada que ver con el código enumerado anteriormente; Esta función genera esta imagen:http://s7.postimage.org/byybq9163/Koala7_500x375_c_transparent.png

Respuestas a la pregunta(3)

Su respuesta a la pregunta