manipulateImage function
Implementation
Future<Uint8List> manipulateImage(ManipulationInput i) async {
Stopwatch? stopwatch;
if (kDebugMode) {
stopwatch = Stopwatch()..start();
}
final value = await rustApi.manipulateImage(
a: i,
);
if (kDebugMode && stopwatch != null) {
log("flutter_photon_rs 2: ${stopwatch.elapsed.inMilliseconds}ms");
}
return value;
}