Open Nicero opened 2 years ago
Not presently, but I'd accept a PR for it.
For croping i am using this function
public function cropImage($cropType=IMG_CROP_DEFAULT) {
$croppedImage = imagecropauto($this->image, $cropType);
if ($croppedImage!== false) {
imagedestroy($this->image);
$this->image = $croppedImage;
}
return $this;
}
Does SimpleImage supports imagecropauto (as called in GD) to remove white (or black, etc) background?