magickSetImagePixelColor method
MagickSetImagePixelColor() sets the color of the specified pixel.
x
: the x offset into the image.y
: the y offset into the image.color
: Return the colormap color in this wand.
This method runs inside an isolate different from the main isolate.
Implementation
Future<bool> magickSetImagePixelColor({
required int x,
required int y,
required PixelWand color,
}) async =>
await _magickCompute(
_magickSetImagePixelColor,
_MagickSetImagePixelColorParams(
_wandPtr.address,
x,
y,
color._wandPtr.address,
),
);