src/classes/CCImage.php
public function response( $quality = null, $type = null ) 
	{
		$response = CCResponse::create( $this->stringify( $quality, $type ) );

		if ( !is_null( $this->type ) )
		{
			$response->header( 'Content-Type', 'image/'.$this->type );
		}

		return $response;
	}
public function response( $quality = null, $type = null ) 
	{
		$response = CCResponse::create( $this->stringify( $quality, $type ) );

		if ( !is_null( $this->type ) )
		{
			$response->header( 'Content-Type', 'image/'.$this->type );
		}

		return $response;
	}
public function response ( $ quality = null , $ type = null ) { $ response = CCResponse :: create ( $ this -> stringify ( $ quality , $ type ) ) ; if ( ! is_null ( $ this -> type ) ) { $ response -> header ( 'Content-Type' , 'image/' . $ this -> type ) ; } return $ response ; }
Create a CCRespone of the image

@param string 		$quality			The image quality
@param string 		$type			jpg|png|gif
@return CCresponse
Create a CCRespone of the image