magickSetOption method
Associates one or options with the wand (.e.g MagickSetOption(wand,"jpeg:perserve","yes")).
Implementation
bool magickSetOption(String key, String value) => using(
(Arena arena) {
final Pointer<Char> keyPtr =
key.toNativeUtf8(allocator: arena).cast();
final Pointer<Char> valuePtr =
value.toNativeUtf8(allocator: arena).cast();
return _magickWandBindings.MagickSetOption(
_wandPtr, keyPtr, valuePtr);
},
).toBool();