vectorize static method

Vectorize vectorize({
  1. dynamic numOfColors,
  2. dynamic detailsLevel,
  3. dynamic despeckleLevel,
  4. dynamic paths,
  5. dynamic cornersLevel,
})

Vectorizes the image.

Notes: To deliver the image as a vector image, make sure to change the format (or URL extension) to a vector format, such as SVG. However, you can also deliver in a raster format if you just want to get the 'vectorized' graphic effect. Large images are scaled down to 1000 pixels in the largest dimension before vectorization. Receives dynamic, dynamic, dynamic, dynamic returns Effect.

Implementation

static Vectorize vectorize(
    {dynamic numOfColors,
    dynamic detailsLevel,
    dynamic despeckleLevel,
    dynamic paths,
    dynamic cornersLevel}) {
  return Vectorize(
      detailsLevel: detailsLevel,
      despeckleLevel: despeckleLevel,
      paths: paths,
      cornersLevel: cornersLevel);
}