cvtColor static method
Future<Uint8List?>
cvtColor({
- CVPathFrom pathFrom = CVPathFrom.ASSETS,
- required String pathString,
- required int outputType,
cvtColor function of Module: Color Space Conversions
Implementation
static Future<Uint8List?> cvtColor({
CVPathFrom pathFrom = CVPathFrom.ASSETS,
required String pathString,
required int outputType,
}) async {
final Uint8List? result = await CvtColorFactory.cvtColor(
pathFrom: pathFrom,
pathString: pathString,
outputType: outputType,
);
/// Function returns the response from method channel
return result;
}