iLoveDXF

证件照生成器

抠出你的照片,将其置于符合尺寸的白色背景上,并在一张纸上打印多份——全部在浏览器中完成。

这些是用于规划和打印的常见标称尺寸——提交前请务必与目的地国家确认确切规格(背景颜色、头部比例)。

照片在浏览器中处理——下载前不会上传任何内容。

拖放,或点击选择 JPG、PNG 或 WEBP

How it helps

Removes the background on-device with the same AI model as our background remover.
Nine common passport/visa/ID size presets, each with its typical background color.
Tiles as many copies as fit on a 4x6, 5x7, A4, or Letter sheet, with dashed cut guides.
Export a single photo or the full print sheet as PNG, or the sheet as a print-ready PDF.

Best practices

  • - Use a plain, evenly lit source photo facing the camera for the cleanest cutout.
  • - Adjust zoom so your head and shoulders fill the frame the way your destination's guidelines describe.
  • - Print at 100% scale (no "fit to page") so the physical size comes out correct.
  • - Cut carefully along the dashed guides — a slightly-off cut is a common rejection reason.

Limitations

  • - Sizes are common nominal specs for planning/printing, not an official, up-to-date feed from each government — always verify current requirements before submitting.
  • - There's no automatic head-height-ratio or face-position compliance check; positioning is manual via the zoom/position sliders.
  • - Background removal quality depends on the source photo — busy backgrounds or similar-toned clothing can leave rough edges.

FAQ

Is this guaranteed to be accepted by [country]'s passport office?

No — the size and background presets are common nominal specs for planning and printing, not a live feed of each country's current official rules. Always check your destination's current requirements (including head-size ratio and background color) before submitting.

How does the background removal work?

It uses the same on-device AI segmentation model (silueta, a U2Net-family network) as our background remover, running entirely in your browser via onnxruntime-web — nothing is uploaded.

How do I get the head positioned correctly?

Use the zoom and horizontal/vertical position sliders to fill the frame the way your destination's guidelines describe, referencing the live preview.

What print sheet sizes are supported?

4x6 in, 5x7 in, A4, and US Letter — pick whichever matches the paper you'll print on.

Is anything uploaded?

No. The photo is processed entirely in your browser and the tool is free with no sign-in.