Headshots without sending the face anywhere
A portrait is the case people worry about on privacy, and the case a 4.7 MB net is only “good enough” on. Peel still does not upload the frame. The face is decoded with Canvas, inferred in a Worker, and encoded to PNG in this tab. What you get back is a saliency matte, not a studio retouch, not frequency separation, and not a beauty filter.
Stand a step away from the wall. Soft daylight from the side beats overhead tungsten. Hair against a busy hedge will fray; hair against a plain painted wall usually survives a listing-size thumbnail. Glasses reflect the room — the net often treats a bright lens flare as background and puts a hole in the glass. Tilt the head or kill the bounce before you peel. A second peel with more feather will not invent glass that the 320×320 pass never saw.
What this page is, and what it is not
This URL is the portrait crop and lighting problem: one person, head-and-shoulders or three-quarter, a wall you can step off, a decision between transparent PNG and a white plate. It is not the iPhone save path — after download, Safari’s Share → Save Image vs Files is /iphone. It is not the WhatsApp recode — photo-send vs document-send is /whatsapp. It is not a marketplace listing well — that ingest is /marketplace.
iPhone Camera Roll
Current iPhones save HEIC. Some Safari versions expose that file to the picker as HEIC, which Peel rejects on purpose (the decoder here is JPEG / PNG / WebP). Convert, then drop the JPEG. If Safari already converted it behind the scenes, the drop just works. After decode, iOS downscales to 2048 px on the long edge so the canvas does not die mid-peel. Convert-first is also on /how-to and the hard list is on /limits. Do not paste the same HEIC twenty times hoping the decoder will grow.
Hair, tulle, beards
U²-NetP is a saliency net, then we upsample and feather. Flyaway hair on a busy background becomes a soft fringe at thumbnail size and a broken halo at print size. A dark jumper on a dark sofa is the same miss in clothes form. Crop so the head fills most of the square before you peel. Feather 1 is the default; 2 helps a small avatar; 0 is for a hard edge you will clip again in a desktop editor. None of those sliders is a clipping path.
Where to put the cutout
Transparent PNG is right for a slide, a circular avatar that your app already masks, or a poster with a designed field. White plate is right when a directory or HR portal refuses alpha. Use the matching tools: transparent and white. Do not flatten to JPEG unless you accept a white box. A photo of a real studio behind the person is /backdrop — two files, cover-crop — not a hex and not this page.
Likeness and other people
You are responsible for the face in the frame. Peel does not check consent. Do not peel a photograph you do not have the right to use, and do not treat a cutout as anonymisation — the person is still obvious. Watermarks and agency credits on a headshot are not “background”. Stripping them is outside the terms and against the advertising policy this site is built under. Group shots with two equal faces confuse the net: it will pick one blob or smear them. Shoot one person.
Full sequence: how to peel. Hair, tulle and smoke notes: limits.