The grid is filled by /assets/capability.js after the page loads. It reads a handful of browser APIs and writes one card each. It does not fetch a model, and it does not upload a test image. The page shell still does what every LocalPix page does: site.js calls GET /api/me for the sign-in label, and the cookieless analytics beacon loads. Those calls are not the grid. What each “yes” or “no” means for a cutout, a HEIC convert, or a watermark fill is below.
What each row means
WebGPU. The card is yes when navigator.gpu exists. That is the API, not a GPU adapter. Remove background and the watermark fill later call requestAdapter(). A null adapter still counts as no WebGPU inside the tool, and the same weights run on WASM. A yes on this page can pair with a WASM run on When WASM removes a background. WebGPU is the preferred path for ormbg when the adapter is real. It does not change the mask, and it does not upload the photo.
WebAssembly. Yes means WebAssembly.instantiate is present. ONNX Runtime’s WASM backend and libheif-js both need it. HEIC to JPG downloads /assets/libheif/libheif.wasm (1,463,506 bytes) only after you start a convert. A no here means that decode and the WASM cutout path cannot start. Compressing a PNG or JPEG does not need WASM. It uses the canvas.
createImageBitmap. Remove background and the watermark tool call createImageBitmap on the file in the page. A no means those calls cannot decode that way. The card’s note mentions workers because the API is often used there. This site’s own scripts call it on the page, not inside a Worker they construct.
OffscreenCanvas. The card reports whether the constructor exists. The current cutout, HEIC convert, compress path, and watermark brush paint on an ordinary canvas. OffscreenCanvas is not required for those tools.
Worker. Yes means the Worker constructor exists, so a library is allowed to start one. LocalPix’s own scripts do not construct a Worker for the cutout, the HEIC decode, or compress. Transformers.js and ONNX Runtime may use workers internally when the browser allows it. A no does not, by itself, mean the photo will be uploaded. It means an off-thread path is unavailable. The pixels still have to be processed on the page, or the run fails.
crossOriginIsolated and SharedArrayBuffer. Cross-origin isolation is what lets a page expose SharedArrayBuffer for threaded WASM. MDN documents that state on window.crossOriginIsolated, and it is produced by sending Cross-Origin-Opener-Policy together with Cross-Origin-Embedder-Policy. This site’s response headers do not send either policy. A no on both cards is the expected result on pixcut.app, including in a current desktop browser. The watermark runtime loads the threaded-looking file ort-wasm-simd-threaded.jsep.wasm and then sets numThreads to 1. The basic cutout, HEIC decode, and fill do not require isolation.
hardwareConcurrency and deviceMemory. The first card always reads as yes and prints navigator.hardwareConcurrency, the logical cores the browser reports. It is not a benchmark. deviceMemory is a rough gigabyte bucket exposed by some Chromium browsers. Other browsers show “not exposed”. Neither number is free RAM, and neither promises that the 44,315,205-byte ormbg download plus the runtime will fit. A phone that runs out of memory fails in the tab. The photo has not been sent away to finish the job.
How it works
- The document loads
capability.jsas a module, aftersite.js. - The script checks
navigator.gpu,WebAssembly.instantiate,createImageBitmap,OffscreenCanvas,Worker,crossOriginIsolated,SharedArrayBuffer,hardwareConcurrency, anddeviceMemory. - It writes the cards into
#cap-results. There is nofetchin that file, and the yes/no values are not posted to LocalPix. - A later tool run makes its own decision. Remove background probes
requestAdapter()when you press Remove background. HEIC loads libheif when you press Convert to JPG. The watermark session forces one WASM thread. This grid does not flip those switches.
Use Verify local when you want the network proof that the photo stayed in the tab. Use this page when you want to know which APIs this browser is willing to expose before you start a 44 MB download.
Limits
- WebGPU “yes” is
navigator.gpu, not a live adapter. The tool can still fall back to WASM. The fallback already runs. It is not a feature that is only planned. - A full row of yes does not guarantee a cutout. The ormbg weights, the runtime, and the decoded photo still have to fit in memory. Older iOS Safari often fails that, with the file still local.
- crossOriginIsolated “no” is expected here. The site does not send COOP or COEP. Threaded WASM is not required for the MVP paths, because the watermark session uses one thread and the cutout does not depend on isolation.
- The grid is this tab, this moment. A different browser, or the same browser with WebGPU disabled in flags, prints a different card.
- HEIC, compress, and the watermark brush do not read this grid. A no on WebGPU does not block Compress to KB or a JPEG convert.
deviceMemory“not exposed” is a missing API, not a report of zero bytes of RAM.
FAQ
Does this page upload a test photo?
No. The detector never reads a file. It writes nine cards into the page. GET /api/me and the analytics beacon still load with the shell, and neither one is a photo. Verify local is the network checklist for an actual tool run.
WebGPU says yes, but Remove background used WASM. Why?
navigator.gpu can exist while requestAdapter() returns null. The tool treats a null adapter as no WebGPU and loads the same ormbg weights on WASM. A failed WebGPU session falls through the same way. See When WASM removes a background.
crossOriginIsolated says no. Is the browser blocked?
No. This site does not send Cross-Origin-Opener-Policy or Cross-Origin-Embedder-Policy, so crossOriginIsolated stays false and SharedArrayBuffer may be missing. Cutout, HEIC, and the watermark fill are written to run without that isolation. The fill sets numThreads to 1.
What if WebAssembly says no?
libheif and the WASM path for ormbg and MI-GAN cannot run. Compress to KB can still encode a PNG, JPEG, or WebP through the canvas, because that path does not load a wasm module.
Worker says yes. Is the photo processed on another thread?
Not by a Worker that LocalPix constructs. The card only reports that the constructor exists. Transformers.js or ONNX Runtime may start their own worker when the browser allows it. The photo is still not uploaded. A no means that off-thread option is absent.
Will a yes on this page change which model runs?
No. The cutout model stays ormbg. HEIC stays libheif-js. The painted fill stays MI-GAN. RMBG is not selected when WebGPU is missing. The grid does not download those weights. The tool page does, after you run it.
Sources
- WebGPU API on MDN —
navigator.gpuandrequestAdapter(). A present API with a null adapter is not a usable GPU. The cutout treats it that way. - WebAssembly on MDN — the compile-and-instantiate path libheif and ONNX Runtime WASM need. The card checks that
instantiateexists. - Worker on MDN — the constructor the card detects. This site’s scripts do not call
new Workerthemselves. - Cross-Origin-Opener-Policy on MDN and Cross-Origin-Embedder-Policy on MDN — the pair of headers that isolate a page. pixcut.app does not send them.
- Window.crossOriginIsolated on MDN — the flag the card reads. False is the expected value on this site.
Related: Remove background · HEIC to JPG · Watermark · Verify local · Open source