CImage.php
public function ascii($file = null)
    {
        $file = $file ? $file : $this->cacheFileName;

        $asciiArt = new CAsciiArt();
        $asciiArt->setOptions($this->asciiOptions);
        return $asciiArt->createFromFile($file);
    }
public function ascii($file = null)
    {
        $file = $file ? $file : $this->cacheFileName;

        $asciiArt = new CAsciiArt();
        $asciiArt->setOptions($this->asciiOptions);
        return $asciiArt->createFromFile($file);
    }
public function ascii ( $ file = null ) { $ file = $ file ? $ file : $ this -> cacheFileName ; $ asciiArt = new CAsciiArt ( ) ; $ asciiArt -> setOptions ( $ this -> asciiOptions ) ; return $ asciiArt -> createFromFile ( $ file ) ; }
Create an ASCII version from the image details.

@param string $file the file to output.

@return string ASCII representation of the image.
Create an ASCII version from the image details .