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