Guide · Headshot

A transparent headshot for a website

A team page wants the person, not the office behind them. Remove background writes a transparent PNG in the browser. Hair, glasses, and earrings are the edges to check.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Limits

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

Related

Remove background · Resume file size · Pricing · All guides

Related guides