src/UI/Image/Rotator.php
public function rotate( $angle, $type = NULL )
	{
		if( !$this->sourceUri )
			throw new RuntimeException( 'No source image set' );

#		if( function_exists( 'imageantialias' ) )
#			imageantialias( $this->target, TRUE );

		$this->target	= imagerotate( $this->source, $angle, 0 );
		if( $this->targetUri )
			return $this->saveImage( $type );
		return TRUE;
	}
public function rotate( $angle, $type = NULL )
	{
		if( !$this->sourceUri )
			throw new RuntimeException( 'No source image set' );

#		if( function_exists( 'imageantialias' ) )
#			imageantialias( $this->target, TRUE );

		$this->target	= imagerotate( $this->source, $angle, 0 );
		if( $this->targetUri )
			return $this->saveImage( $type );
		return TRUE;
	}
public function rotate ( $ angle , $ type = NULL ) { if ( ! $ this -> sourceUri ) throw new RuntimeException ( 'No source image set' ) ; #		if( function_exists( 'imageantialias' ) ) #			imageantialias( $this->target, TRUE ); $ this -> target = imagerotate ( $ this -> source , $ angle , 0 ) ; if ( $ this -> targetUri ) return $ this -> saveImage ( $ type ) ; return TRUE ; }
Invertes Source Image.
@access		public
@param		int			$angle			Rotation angle in degrees
@param		int			$type			Output format type
@return		bool
Invertes Source Image .