This is a Rust-based WebAssembly (Wasm) application that processes images, converting them to grayscale directly in the browser. The solution ensures privacy by avoiding any server-side interaction, leveraging Rust's performance and the flexibility of WebAssembly.
- Privacy First: All image processing is done in the browser; no data leaves the user's machine.
- High Performance: Rust's robust libraries and WebAssembly's speed make the processing efficient.
- Easy Integration: Frontend implementation using React enables smooth interaction.
- Rust: Install from rust-lang.org
- wasm-pack: Install using the command:
cargo install wasm-pack
- Node.js: Ensure you have Node.js installed.
- Upload an image using the Upload Image button.
- The image will be processed in your browser and displayed in grayscale format.
wasm-bindgen
: For JavaScript and WebAssembly interoperability.base64
: For Base64 encoding and decoding.image
: For image manipulation.
- React: For building the user interface.
- Webpack: For bundling the frontend.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit and push your changes.
- Open a pull request with a detailed description.
This project is licensed under the MIT License. See the LICENSE
file for details.