VectorizeTrait
trait VectorizeTrait
Trait VectorizeTrait
Methods
numOfColors(int $numOfColors = null)
Limits the number of colors in the image.
detailsLevel(float $level)
Controls the level of detail.
despeckleLevel(float $size)
Suppresses speckles up to the given size.
paths(int $value)
Controls the Bezier curve optimization.
cornersLevel(int $threshold)
Controls the corner threshold. 100 for no smoothing (polygon corners), 0 for completely smooth corners.
Details
$this
numOfColors(int $numOfColors = null)
Limits the number of colors in the image.
$this
detailsLevel(float $level)
Controls the level of detail.
$this
despeckleLevel(float $size)
Suppresses speckles up to the given size.
$this
paths(int $value)
Controls the Bezier curve optimization.
$this
cornersLevel(int $threshold)
Controls the corner threshold. 100 for no smoothing (polygon corners), 0 for completely smooth corners.