Client-Side Super-Resolution and Zero-Upload Privacy
Traditional photo enhancers force users to upload high-resolution images to remote cloud servers. Once an image leaves your computer, you lose control over where your photos, family memories, and confidential documents are stored, indexed, or analyzed. PoofShare eliminates this privacy vulnerability entirely by running the entire machine learning inference pipeline inside your local web browser.
Using ONNX Runtime Web and modern browser APIs, our client-side upscaler executes neural network weights directly on your personal hardware. When you drop a picture onto the canvas, the browser downloads a single 1.65-megabyte model binary, persists it within your browser Cache Storage, and executes every tensor calculation in volatile memory. Your photo never travels across a network connection or touches a cloud disk.
WebGPU Acceleration with Resilient Mobile WASM Fallback
To deliver rapid processing speeds without demanding dedicated native installations, our engine dynamically negotiates hardware acceleration interfaces. On modern desktop browsers including Google Chrome, Microsoft Edge, and Mozilla Firefox, the engine connects directly to your graphics card using the WebGPU standard. WebGPU offloads matrix multiplication across hundreds of GPU compute cores, processing full image tiles in tens of milliseconds.
On mobile operating systems and Apple Safari viewports where WebGPU may be disabled or unstable, the worker automatically transitions to a single-threaded WebAssembly compute engine. This conservative threading strategy specifically counters WebKit JSEP memory spikes that frequently crash mobile Safari tabs when running large deep-learning models. The result is robust, failure-free upscaling across smartphones, tablets, and high-end workstations.
Fixed-Shape 256x256 Tiling and Clamp-to-Edge Border Padding
The underlying super-resolution neural network features static tensor input dimensions of exactly 256x256 pixels across three color channels in NCHW format. Passing raw image crops with arbitrary boundary dimensions triggers immediate runtime tensor shape mismatch exceptions. To upscale images of any size, our engine divides the input canvas into a uniform matrix of 256x256 tiles with a 16-pixel spatial overlap.
When tiles reach the outer right or bottom edges of an image, the remaining pixels rarely measure an even 256 pixels. Instead of stretching the image or zero-padding with black pixels that generate dark edge halos, our engine applies replicate border padding. Missing pixels along the boundary are filled by repeating the nearest valid edge pixels. This clamp-to-edge technique satisfies the strict static tensor shape requirements while completely preventing peripheral boundary distortion.
16-Pixel Seam Blending and 2x Canvas Downsampling
Super-resolution models process each tile independently, which can introduce subtle luminance shifts and visible grid seams along tile borders. We eliminate grid artifacts by overlapping adjacent tiles by 16 pixels in input space, which maps to 64 pixels in the 4x output matrix. Across this 64-pixel intersection corridor, the engine applies linear feathering weights that smoothly transition between adjacent tile contributions.
While the neural network natively produces a 4x upscale factor, users often require a balanced 2x magnification. Rather than maintaining duplicate model weights that would double memory consumption, the tool renders the 4x tile reconstruction to an offscreen buffer and downsamples the result by 50% using high-precision bicubic canvas interpolation. This yields cleaner anti-aliasing and sharper photographic details than traditional single-step upscalers. Read our complete architecture breakdown in our in-depth WebGPU AI upscaler engineering guide.
| Technical Specification | Platform Implementation Standard |
|---|---|
| Neural Architecture | PurePhoto 4xNomosUni SPAN Multi-JPG ONNX (fp32) |
| Model File Size | 1.65 MB (1,725,161 bytes) cached in Cache Storage |
| Static Input Geometry | NCHW [1, 3, 256, 256] Float32 normalized [0.0, 1.0] |
| Native Output Geometry | NCHW [1, 3, 1024, 1024] Float32 with 4x spatial factor |
| Hardware Acceleration | WebGPU compute shaders with single-threaded WASM fallback |
| Seam Blending Method | 16px input / 64px output linear trapezoidal feathering |
| Maximum Input Bounds | 1280px longest dimension (5120px max output matrix) |
| Licensing & Attribution | Philip Hofmann (Creative Commons Attribution 4.0 International) |
Zero-Knowledge Local Processing Guarantee
All canvas manipulation, tile slicing, neural network tensor execution, and image exports occur strictly in volatile local memory on your device. Zero bytes of image content or EXIF metadata are transmitted across external networks. If you choose to share your enhanced photo using our temporary image hosting service, your file is uploaded only when you explicitly click "Share via Expiring Link".