bitmap
bitmap copied to clipboard
add non-asynchronous transformations in resize.dart
I want to make my image processing software run the main processing method in a compute(). Problem is, the resize() method in your library is async-only, and that trickles down into the function i want to be run in a 'compute()'. Still learning about isolates, so I'm not sure if it's absolutely necessary to have the function you're running be synchronous, but it makes things easier to grasp. Regardless, having these options be available is easy to do and gives more freedom to the developer.
There is a resize operation, and as with any operation, it is sync. See the example app. All operations are applied in a isolate.