This is not the ID-photo guide. Forms that demand white or a millimetre size are ID and passport, and the passport tool still does not crop. A website can usually take the PNG as-is and let the page background show through.
ormbg resizes large frames toward 1024×1024. A full-body shot wasted on a face in the distance will look soft — crop to head and shoulders first. Quota: signed out, 3 a day in this browser, longest side up to 1024 px; then 3 full-size removals a day when signed in. After those 3, signed-in basic runs stay at 1024 px. Pro lifts the daily cap and adds batch, still in the browser. Do not JPEG-compress the PNG if the site supports transparency.
Steps
- Crop to head and shoulders in your own editor. The model input is scaled toward 1024×1024, so a distant face goes soft. Use JPEG, PNG, or WebP. Convert HEIC on HEIC to JPG first.
- Open Remove background and read the WebGPU or WASM line under the button. Press Remove background. The ormbg download is the model, not an upload of the portrait. Signed out, the file is up to 1024 px on the long side, 3 a day in this browser.
- Download the PNG. The name ends in
-nobg.png. Zoom hair, glasses, and earrings at 100% on the color the website will show, not only on the checkerboard. - Put that PNG on the site. Skip Compress to KB while you still need transparency. That step writes a JPEG, and the team page shows a box.
How it works
A team page wants the person, not a white studio plate and not a millimetre crop. Remove background runs ormbg, Apache-2.0, in the tab and writes a transparent PNG so the site’s own background color shows through. That is the opposite of an ID upload. Forms that demand white or a printed size are ID and passport. A resume that named a KB cap is the resume file-size page.
The weights are 44,315,205 bytes, about 42 MiB, fetched through /api/models when the session is allowed to download them. That file is the model, not a copy of the portrait. Transformers.js comes from jsDelivr. WebGPU is used only when the browser exposes a GPU adapter. Otherwise the same model runs on WASM. The model input is scaled toward 1024×1024, which is why a face lost in a full-body frame goes soft. Crop to head and shoulders before you run it. Signed out, a download is limited to a 1024 px long side, 3 a day in this browser, resetting at 00:00 UTC. A free account gets 3 full-size PNGs a day, resetting at 00:00 UTC. After those 3, signed-in basic runs stay at 1024 px. Pro keeps full size and can run several portraits one after another in the same tab. It is still not a server queue.
A concrete pass: a team grid that displays at 160 CSS pixels on a 2× screen wants about 320 pixels of real portrait. A signed-out 1024 px PNG covers that avatar. A hero portrait that sits at 600 CSS pixels needs the full-size file — crop first, sign in, spend one of the 3 HD credits. Check the PNG at 100% on the actual page color, not only on the checkerboard. A halo that disappears on white shows on navy. Do not send the PNG through Compress to KB. That search writes a JPEG and throws the transparency away, which is how a team page suddenly shows a box.
What the status line says
The cutout page does not report hair, glasses, or earrings. Those you judge on the PNG. #status on Remove background only reports the file, the device, and the pixel cap. The line under the button is a separate hint.
- A phone still with no image type. “Please choose an image file (PNG, JPEG, WebP).” A HEIC that Windows saved with an empty type lands here. This page does not load libheif. Convert on HEIC to JPG, then drop the JPG. A HEIC the OS types as
image/heicgets the Ready line instead, and the model still has no HEIC decoder. - The portrait is chosen. “Ready: {name} ({size}). First run downloads ormbg q8 (~42.3 MB) from LocalPix (/api/models) — then caches in this browser.” {size} is 1024-based, one decimal. The ~42.3 MB clause is the model, 44,315,205 bytes, not the portrait. Press Remove background to start that download. The Ready line itself does not.
- Which device you will get. “WebGPU adapter ready — preferred; WASM/CPU auto-fallback. Model ~42.3 MB (q8) on first run.” or “No WebGPU adapter — will use WASM/CPU. Model ~42.3 MB (q8) on first run.” or “WebGPU not detected — will use WASM/CPU. Model ~42.3 MB (q8) on first run.” The overlay, while the weights arrive, reads “Downloading model {got} / 44.3 MB…”. 44.3 MB is the same file in decimal megabytes. A second portrait in the same tab, after the cache, skips that download and shows “Preparing the model…”, then “Removing background…”.
- The PNG is ready, and the edges are still your job. “Done on WebGPU. Basic size, longest side 1024px. Transparent PNG is ready to download. Next removal in this browser needs a sign-in.” Full size drops the basic clause for “Full size” and, when the allowance covered it, omits the sign-in sentence. WASM says “Done on WASM/CPU.” The name ends in
-nobg.png. Nothing in that sentence means the hair is clean. A 1024 px long side covers a small team avatar. A hero that sits near 600 CSS pixels wants the full-size file. - The second press in this browser, with no account. “This browser already used its free basic removal. Sign in for 3 full-size removals a day.” There is no new PNG. The first
-nobg.pngis the one you already downloaded. - The model file failed. “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.” Older phones often hit this on a large portrait. The portrait was not uploaded. Retry on a desktop. Cancel during the fetch reads “Cancelled. The photo was not uploaded.”
Limits
- Hair, glasses, and earrings are the edges that fringe. Check the PNG at 100% on a checkerboard and on the real page color before you publish it.
- The file is a bitmap PNG, not an SVG. The page does not paint a studio backdrop. If the CMS flattens transparency, you get a box. Keep the PNG if the theme supports it.
- HEIC from a phone is refused here. HEIC to JPG first. Order of steps.
- Do not send the PNG through Compress to KB unless you have already decided to flatten it. JPEG has no alpha.
- A 1024 px long side is enough for a small avatar and often too small for a large hero. Use an HD credit for the file the layout will actually display.
- Older phones can fail the first load for lack of memory. The portrait has not been uploaded. Try a desktop browser.
FAQ
Will the site show a white box?
Only if you export JPEG or the CMS flattens PNG. The file you download is transparent.
Does the portrait get uploaded to LocalPix?
No. The cutout runs in the tab. The network fetch is the ormbg weights and the runtime, not a POST of the photo. Verify local.
Can I do a whole team in one click?
Batch is a Pro feature and still runs in the browser, one model, same 1024 limit. It is not a server queue.
Why is the free PNG only 1024 px?
An anonymous try is basic size. Sign in for the 3 full-size removals that reset at 00:00 UTC, or use Pro. The 1024 px file is still a transparent PNG.
Is this a passport-size crop?
No. The download is a transparent PNG at the working size. It does not crop to a country’s millimetres. ID and visa backdrops are a different guide.
Should I run Compress to KB on the PNG before I put it on the site?
No, not if the theme supports transparency. Compress writes a JPEG and discards alpha, which is how the team page shows a box. Flatten only when the CMS rejected PNG.
Sources
- onnx-community/ormbg-ONNX — the cutout weights. LocalPix serves an entitled session from
/api/models. - Apache License 2.0 — the license on ormbg. This guide does not use RMBG.
- WebGPU API on MDN — the adapter check. No adapter means WASM, same model, same PNG.
- PNG specification — why the team-page file can keep a transparent background, and why a JPEG cannot.
Related
Remove background · Resume file size · Pricing · All guides