Project Documentation
Behind the magic. Learn how SwitchImage uses modern web technologies to process images at the speed of light.
Edge Computing
Processing happens directly on your CPU/GPU using WebAssembly.
Zero Latency
No network transit means instant results, regardless of file size.
Privacy First
Your images are never stored or seen by anyone but you.
Background Removal
SwitchImage uses state-of-the-art deep learning models optimized for the web. We utilize the **@imgly/background-removal** library, which runs sophisticated AI models locally using **WebAssembly (WASM)** and **ONNX Runtime**.
When you click "Remove Background", the app loads the required model assets into your browser's memory and executes the identification algorithm on your device.
Technical Specs
- Models: ONNX Architecture
- Runtime: WebAssembly (WASM)
- Processing: Local Client-Side
Format Conversion
Supported Formats
Our conversion engine leverages the browser's native **Canvas API**. By drawing images onto a high-definition canvas, we can re-export them into various formats with precise quality control.
For PDF generation, we integrate **jsPDF**, a powerful library that wraps your processed images into high-quality, standard-compliant PDF documents.
Professional Cropping
- Precision EditingWe use **react-easy-crop** for a smooth, intuitive interface that allows for millimetre-perfect crops.
- Lossless OutputThe cropping process maintains the original resolution of your image, ensuring no pixels are lost.
Want to know more?
The entire project is open-source and built with Next.js, Tailwind CSS, and Framer Motion. We are constantly updating our tools to provide the best image editing experience.