makeTransparent static method
Makes the background of the image transparent (or solid white for formats that do not support transparency). The background is determined as all pixels that resemble the pixels on the edges of the image.
Receives dynamic
, dynamic
returns Effect
Implementation
static MakeTransparent makeTransparent(
{dynamic tolerance, dynamic colorToReplace}) {
return MakeTransparent(
tolerance: tolerance, colorToReplace: colorToReplace);
}