
daniele - 2016-12-28 13:21:48 -
In reply to message 1 from Marius Gabriel
It is working.
But the image has to match the backgound color he fixed in the class.
Look at line 109 you'll find
$this->edge = $this->imageGetEdges($this->destinationImage, 250, 250, 250);
According to the function imageGetEdges the first parameter is the file and the other are RGB values of the background color