Remove background (transparent PNG)
Remove the background of one image and export an alpha-preserving transparent PNG; supports feathered hair, mask brush edits, undo/redo and EXIF orientation alignment.
Inputs and parameters
file— Choose image (PNG/JPEG/WebP, ≤15 MiB / 16 MP)sample— Fixed sample (injected-mask verification without a browser)format— Export formatedits— Mask edits JSON (optional)undo— Undo stepsredo— Redo steps
Real example
sample=transparent-edge (4×4 RGBA, source alpha 0/64/128/255, all-255 mask); op=remove-background; format=png.
→ Transparent PNG 4×4, 136 bytes, named cutout-remove-background-20261115T000000Z.png; decoded alpha still 0/64/128/255 per row, maskHash=360779f5.
Limits and failure handling
15 MiB / 16 MP per image; weights are not shipped this round, so real photo inference needs models/manifest.json plus a worker (untested). EXIF orientations 1–8 rotate source and mask together. Undo/redo holds up to 64 steps and export uses the stack head. No cloud processing, no ID-photo compliance claims, no multi-model marketplace.
FAQ
Do semi-transparent hair strands become hard edges?
Masks are 0–255 greyscale; effective alpha = source alpha × mask / 255. The portrait sample includes 32/96/128/160/192/224 feathering values and the test asserts output alpha matches.
Is PNG the only export?
The dependency-free RGBA8 PNG encoder is tested this round. WebP needs an injected browser Canvas encoder; without it the tool returns FORMAT_UNAVAILABLE instead of silently downgrading.