magickGetImageColors method

Future<int> magickGetImageColors()

Gets the number of unique colors in the image.

This method runs inside an isolate different from the main isolate.

Implementation

Future<int> magickGetImageColors() async => await _magickCompute(
      _magickGetImageColors,
      _wandPtr.address,
    );