magickSetImageColorspace method
MagickSetImageColorspace() sets the image colorspace. But does not modify the image data.
This method runs inside an isolate different from the main isolate.
colorspace
: the image colorspace.
Implementation
Future<bool> magickSetImageColorspace(ColorspaceType colorspace) async =>
await _magickCompute(
_magickSetImageColorspace,
_MagickSetImageColorspaceParams(
_wandPtr.address,
colorspace,
),
);