images-processing
images-processing copied to clipboard
Create Rust with Dart FFI implementation (Rust for image processing, Flutter for UI)
Task Overview:
- Implement a new architecture using Rust for image processing logic, exposing functions via FFI.
- Integrate with a Flutter front-end (Dart) for cross-platform UI.
Detailed Steps:
- Design the Rust library exposing image processing functions (e.g., filters, transformations) via FFI.
- Set up the FFI interface using
#[no_mangle]functions and C-compatible types. - Create a Dart wrapper using
dart:ffito bind to Rust functions. - Develop a Flutter UI that calls Rust via FFI for processing images.
- Write integration and unit tests to ensure reliability and performance.
- Document architecture, build steps, and usage in the README and code comments.
- Compare performance and capabilities with the existing C and Android implementations.
- Add automation for building and publishing the Rust library for multiple platforms.