How does Camly compress PDF documents inside the browser without transmitting files to external cloud servers?
Camly executes native WebAssembly (Wasm) routines compiled from C/Rust document compression libraries directly on your device's CPU. The engine deconstructs the PDF binary object tree, re-encodes compressed Flate streams, re-quantizes embedded raster DCT coefficients, and repacks the cross-reference table locally in volatile RAM.
- 100% client-side WebAssembly execution on your device's multi-core CPU
- Deconstructs and re-encodes PDF object streams entirely inside local RAM
- Zero network bandwidth consumed for uploads or downloads
- Independent of third-party cloud infrastructure—functions even in offline mode
