EasyImage::__toString PHP Method

__toString() public method

Must be rendered with the appropriate Content-Type header or it will not be displayed correctly.
public __toString ( ) : string
return string as binary
    public function __toString()
    {
        try {
            return $this->image()->render();
        } catch (CException $e) {
            return '';
        }
    }