PHP Class Identicon\Generator\ImageMagickGenerator

Author: Francis Chuang ([email protected])
Inheritance: extends BaseGenerator, implements Identicon\Generator\GeneratorInterface
Show file Open project: yzalis/identicon

Public Methods

Method Description
__construct ( ) ImageMagickGenerator constructor.
getImageBinaryData ( $string, $size = null, $color = null, $backgroundColor = null )
getImageResource ( $string, $size = null, $color = null, $backgroundColor = null )
getMimeType ( ) : string

Private Methods

Method Description
generateImage ( )

Method Details

__construct() public method

ImageMagickGenerator constructor.
public __construct ( )

getImageBinaryData() public method

public getImageBinaryData ( $string, $size = null, $color = null, $backgroundColor = null )

getImageResource() public method

public getImageResource ( $string, $size = null, $color = null, $backgroundColor = null )

getMimeType() public method

public getMimeType ( ) : string
return string