src/Captcha/Captcha.php
public function exportImage( $keep_resorce = false )
	{
		// prepare Capatcha
		$this->getCaptchaImage();

		# Sending Header Info
		header( 'content-type: image/png' );
		
		# Exporting the final image
		imagepng( $this->_final_image );
		
		# Clearing final image from the memory
		imagedestroy( $this->_final_image );

		# Method End
	}
public function exportImage( $keep_resorce = false )
	{
		// prepare Capatcha
		$this->getCaptchaImage();

		# Sending Header Info
		header( 'content-type: image/png' );
		
		# Exporting the final image
		imagepng( $this->_final_image );
		
		# Clearing final image from the memory
		imagedestroy( $this->_final_image );

		# Method End
	}
public function exportImage ( $ keep_resorce = false ) { // prepare Capatcha $ this -> getCaptchaImage ( ) ; # Sending Header Info header ( 'content-type: image/png' ) ; # Exporting the final image imagepng ( $ this -> _final_image ) ; # Clearing final image from the memory imagedestroy ( $ this -> _final_image ) ; # Method End }
send image to browser
send image to browser