A simple ecommerce still — one object, decent light, not a lifestyle scene — is the case Remove background is for. The model is ormbg (Apache-2.0), on device, WebGPU when the browser has an adapter and CPU/WASM otherwise. Output is a transparent PNG. RMBG is not used. See when WASM runs if the cutout is slow.
A short workflow
- Shoot or export a still as JPEG, PNG, or WebP. One object, cropped tight. HEIC from a phone: HEIC to JPG first.
- Open Remove background and press Remove background. Choosing the file does not download the model. An entitled session then fetches ormbg q8, 44,315,205 bytes, through
/api/models. Signed out, the PNG is up to 1024 px on the long side, 3 a day in this browser. Optional proof: Verify local. - Download the PNG. The name ends in
-nobg.png. Zoom straps, glass, and label type at 100%. Reject a fringe rather than stacking another cutout on top. - Keep that PNG when the storefront accepts transparency. If the marketplace wants pure white, composite locally. The tool does not add a white plate.
- Need the flattened file under a portal cap? Compress to KB writes
compressed.jpgand drops alpha. Do not run that step while you still need transparency.
What this is not
- Not a batch editor and not a colour-managed studio pipeline.
- Not an ID-photo layout. Portraits for forms: ID and passport photo background.
- Large sources are resized toward 1024×1024 for the model. Fine jewellery text can soften. Start from a tighter crop of the object.
How it works
A listing cutout here is one object, decent light, and a plain field. Remove background runs ormbg, Apache-2.0, in the tab. When you press Remove background, an entitled session fetches the q8 weights, 44,315,205 bytes, through /api/models. Transformers.js loads from jsDelivr. The product photo is not in that request. WebGPU is used when this browser returns a GPU adapter from requestAdapter(). If the adapter is missing, or the WebGPU session fails, the same weights run on WASM. There is no server cutout waiting behind that failure.
The model input is scaled toward 1024×1024. A bottle that fills the frame keeps more edge than a bottle lost on a table in a wide shot. Crop to the object before you run it. Fine type on a label softens inside that square. The download is a transparent PNG from a blob: URL. The name is the original file with -nobg.png on the end. Signed out, the long side is up to 1024 px, 3 a day in this browser, resetting at 00:00 UTC. A signed-in run after today’s 3 full-size credits limits the long side to 1024 px. Those 3 reset at 00:00 UTC. Pro keeps full size. 1024 px is a fair way to see whether a strap fringed. It is a poor master for a catalogue. Use the HD file for the listing. If you are leaving remove.bg, see remove.bg is shutting down.
The tool does not paint white, grey, or a marketplace plate. If the channel wants a flat color, composite locally, then export the JPEG or PNG that channel listed. Compress to KB is only for that flattened file. It writes compressed.jpg and discards alpha, which is how a cutout appears to “grow a background back.” Keep the -nobg.png file whenever the storefront can take transparency. Glass, mesh, and straps are the edges to reject and reshoot, not to stack under a second online cutout. HEIC from the phone is refused. HEIC to JPG first. A portrait for a form is a different page.
What the status line says
Glass and straps do not get their own error. Remove background writes a Done line when a PNG exists. You still zoom the listing. Compress is a second page, with a different Done line, and that file has no alpha.
- The still is in the tab. “Ready: {name} ({size}). First run downloads ormbg q8 (~42.3 MB) from LocalPix (/api/models) — then caches in this browser.” {size} is the product file in 1024-based KB or MB, one decimal. The ~42.3 MB figure is ormbg q8, 44,315,205 bytes. Press Remove background to fetch it. A non-image, such as a PDF export of the listing, reads “Please choose an image file (PNG, JPEG, WebP).”
- Two megabytes for one file. The hint under the button says “Model ~42.3 MB (q8) on first run.” after the WebGPU sentence. The overlay says “Downloading model {got} / 44.3 MB…”. Both numbers are 44,315,205 bytes. 44.3 MB divides by 1,000,000. ~42.3 MB divides by 1024×1024. The note on the card is “First run downloads the ormbg model once (44.3 MB, 44,315,205 bytes). It stays in this browser's cache after that, so the next photo skips the download. The file is the model, not your picture.”
- Done means a PNG, not a clean mask. “Done on WebGPU. Full size. Transparent PNG is ready to download.” A basic run says “Basic size, longest side up to {n}px” (1024 when signed out, and 1024 when signed in after today’s HD credits). WASM says “Done on WASM/CPU.” The download ends in
-nobg.png. A fringe on a bottle, a strap, or a label can still be in that file. Open it at 100%. 1024 px is enough to see the fringe and a poor master for the catalogue. - You flattened it. Compress to KB does not say “Transparent PNG”. Its finish line is “Done: {sz} KB (target {kb} KB). Best-effort JPEG quality search.” The download is
compressed.jpg. Alpha is gone. If the storefront wanted the cutout, go back to-nobg.png. - The weights failed, or you cancelled. “Could not load ormbg (~42.3 MB from /api/models). {detail} Sign in if asked, try a desktop browser with more memory, allow cdn.jsdelivr.net, or retry.” Cancel during that fetch reads “Cancelled. The photo was not uploaded.” There is no listing file from that press.
Limits
- One object on a simple field. A lifestyle scene, a reflection in glass, and hairline label type are the misses.
- Signed out, output is up to 1024 px on the long side, 3 a day. A signed-in run after today’s 3 HD credits is 1024 px. Full size is an HD credit or Pro. The model still sees the frame scaled toward 1024×1024.
- The PNG is a bitmap mask, not a clipping path and not a white-background generator.
- Compressing the PNG drops alpha. Composite first if the channel wants JPEG.
- Signed out: 3 a day in this browser, longest side up to 1024 px. Batch is Pro, still one tab, still local, one file after another.
Marketplace plate vs transparent PNG
Remove background writes a transparent PNG named with -nobg.png. It does not paint white or grey plates. Composite the marketplace background in your own editor. Press Remove background to start ormbg; file pick alone does not. Soft shadows and thin straps can fringe — zoom to 100%. Compressing the PNG with Compress to KB will flatten it to JPEG and drop transparency.
FAQ
Does the product photo leave the device?
No. Inference stays in the tab. Network may show the ormbg download after you run; it should not show your image posted to LocalPix. Verify local.
Which model?
ormbg only (Apache-2.0). RMBG, BiRefNet, and BEN2 are not offered. Licenses.
The listing turned the background white.
You exported or recompressed to JPEG. Transparency only survives in the PNG you downloaded.
What is the downloaded file called?
The name ends in -nobg.png, taken from the original file name. It is a transparent PNG from a blob URL in this tab. Rename it for the catalogue if you want. Do not recompress it to JPEG if you still need the transparency.
Why is the label soft?
The model input is scaled toward 1024×1024. Crop tight on the object and run the full-size credit. A wide shot will not become sharp type.
Can I add the pure white the marketplace asked for?
Not on this page. Composite the PNG onto white locally, then export the JPEG they listed. Compress to KB is for that flattened file only.
Sources
- onnx-community/ormbg-ONNX — the weights. Production serves an entitled session from
/api/models. - Transformers.js — the browser pipeline. The script loads from jsDelivr. The photo does not.
- PNG specification — alpha in the
-nobg.pngdownload. JPEG has none, which is why compress flattens the listing. - WebGPU API on MDN — when the cutout uses the GPU, and when it stays on WASM.
Related
Remove background · ID photo background · WASM remove background · Verify local · 0-byte upload proof