Guide · Headshot

A resume photo that never gets uploaded here

A job form wants a small JPG of your face. That is a file-size job, and sometimes a cutout. It is not an official passport crop, and LocalPix will not paint the white background for you.

Start from a JPEG, PNG, or WebP. iPhone HEIC: convert first. If the room behind you is the problem, Remove background (ormbg, Apache-2.0) writes a transparent PNG. Signed out: 3 a day in this browser, longest side up to 1024 px. A signed-in free account gets 3 full-size removals a day. Pro removes that daily cap. You still composite onto white or gray in your own editor if the form demands a flat color.

Passport photo does not size to a country’s millimetres. Crop to whatever the form printed. Then, if the flattened JPG is over the limit, compress toward that cap. Compressing the transparent PNG first throws away the alpha.

Steps

  1. Read the form before you edit: JPG or PNG, the maximum KB, and whether the backdrop must be a plain color. This page does not crop to a passport size. Passport photo does not either.
  2. If the camera file is HEIC, convert it on HEIC to JPG first. Quality starts at 92. Remove background and Compress cannot open HEIC.
  3. If the room behind you has to go, open Remove background, download the PNG (the name ends in -nobg.png), and composite the color the form named in your own editor. Signed out, the cutout is up to 1024 px on the long side, 3 a day. The site does not paint white.
  4. Crop to the pixel size the form printed. Then, only on that flattened JPEG, open Compress to KB and type the cap (200, or 1000 for about 1 MB). Check the size on disk. The last probe can sit a little over the number.

How it works

A resume upload is two jobs. The room behind you is a cutout. The line that says “under 200 KB” or “about 1 MB” is a JPEG quality search, and it only belongs on a file whose backdrop is already a flat color. Doing them in the other order throws the transparency away and leaves a plate you did not choose.

Remove background takes a JPEG, PNG, or WebP. When you press Remove background, an entitled session fetches ormbg q8, 44,315,205 bytes, through /api/models. Transformers.js loads from jsDelivr. The portrait is not in that request. The model input is scaled toward 1024×1024, so a face that is a small part of a full-length frame goes soft. Crop to head and shoulders before you run it. WebGPU is used only when this browser returns a GPU adapter. Otherwise the same weights run on WASM. The download is a transparent PNG from a blob: URL.

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 is then limited to a 1024 px long side. A free account’s 3 full-size PNGs reset at 00:00 UTC. Pro keeps full size. 1024 px is enough to judge a hair fringe and often too small for a portal that will print the photo. Spend an HD credit on the file you will actually attach. Passport photo still does not crop to a country’s millimetres. If the form prints a pixel size or a head-height ratio, crop that locally after the cutout.

The size cap is Compress to KB, and only after you have composited the color the form named, often white or light gray, and exported a JPEG. Compress does not decode HEIC and does not keep alpha. It binary-searches JPEG quality ten times, between 0.10 and 0.95, and never changes width or height. The comparison is blob.size / 1024 against the number you type. Type 200 for a 200 KB line, or 1000 when the portal says about 1 MB. The download is compressed.jpg, the last of those ten probes. It can sit a little under the number and, less often, a little over. Read the status line, then the size on disk. Phone HEIC never enters either tool. HEIC to JPG first, quality starting at 92.

Limits

FAQ

Will this make a 2×2 inch passport photo?

No. Passport photo is a placeholder and does not crop to an official size.

Does the headshot leave the device?

No. Cutout and JPEG search run in the tab. A model download is not your photo being uploaded. Verify local.

The PNG looks like a checkerboard.

That is transparency. The tool does not add white. Composite locally, then export a JPEG if the form rejects PNG.

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. The 1024 px file is still transparent, and it is the wrong attachment when the form will print the portrait.

Should I compress before I add the white background?

No. Flatten onto the color the form named, export a JPEG, then type the cap. Compressing the transparent PNG discards alpha.

Does this resize the photo to a LinkedIn pixel box?

No. A site that accepts PNG can take the cutout. A PDF or a portal that says JPG needs the flattened file, cropped by you to the size that page printed.

Sources

Related

Remove background · ID and passport backdrop · Compress · All guides

Related guides