magickSetImageAlpha method
MagickSetImageAlpha() sets the image to the specified alpha level.
alpha
: the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
This method runs inside an isolate different from the main isolate.
Implementation
Future<bool> magickSetImageAlpha(double alpha) async => await _magickCompute(
_magickSetImageAlpha,
_MagickSetImageAlphaParams(
_wandPtr.address,
alpha,
),
);