Image2Css\Converter::__construct PHP Method

__construct() public method

public __construct ( $filename )
    public function __construct($filename)
    {
        $this->setPath($filename);
        $this->setColorType(\Image2Css\Converter::BEST);
        $this->setWidth(100);
        $this->setPixelSize(8);
        $this->setBlur(0);
        $this->setTrueColor(true);
    }