Red Background Passport Photo
Turn a photo taken against a plain wall, white, cream, grey or blue, into a red background ID photo, cropped to 3:4 or 4:6, right in your browser.
Red Background Passport Photo
Processed in your browserA person detector runs in your browser and separates you from the background, so clothing and headscarves stay as they are. The first use downloads the engine once (about 13 MB). Check the preview, especially hair and shoulder edges. This is an editing aid, not a guarantee of official compliance.
Files stay in this browser tab. Nothing is uploaded to a server.
Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.
Chat on WhatsAppSome application forms ask for a formal photo with a red background, sometimes called a passport-style photo. If you have a picture taken against a plain wall, whether white, cream, grey or even blue, this tool separates you from the background, replaces the background with red and crops the photo to a standard ratio, without a studio visit and without uploading your face to a server.
Where red backgrounds are requested
Red is commonly requested on Indonesian forms. For example, the 2023 CPNS FAQ from BKN asked for a passport photo with a red background at 200 KB, and also noted that requirements vary by institution. Other forms may ask for blue, white or another colour, so read the current instructions for your application before you start.
How the background replacement works
The tool runs a person-segmentation model, MediaPipe Selfie Segmenter by Google (Apache-2.0 licence), inside your browser tab. The model estimates which parts of the picture belong to you and which belong to the background. Everything it marks as background is replaced with red (RGB 202, 42, 48), and the edges are cleaned so the old background colour does not leave a coloured outline around your hair. Your face, hair, clothing, a white shirt, a light hijab and glasses are kept as they are.
The first time you use it, your browser downloads the recognition engine once, about 13 MB, straight from this site, and then keeps it in its cache. Later photos usually take well under a second. Very old browsers may not support the engine; if the photo cannot be processed, try an up-to-date Chrome or Firefox.
A few practical rules still help:
- Use a reasonably plain background. White, cream, grey, red or blue walls all work. A busy background such as a bookshelf, curtains with a pattern or a window is harder to separate cleanly.
- Be the only person in the frame. Other people or objects behind you may be kept or partly cut.
- Keep your hands down and keep bags, phones or other items away from the edge of the frame, as they can be cut or leave small artifacts.
- Use soft, even light so your outline is clear against the wall.
Very fine hair strands are simplified into a smoother outline. Always look at the preview carefully, especially along the hair, a hijab and the shoulders. If something looks wrong, retake the photo against a plainer wall.
Crop, size and output
The photo is centre-cropped to either 3:4 (output 600 x 800 px) or 4:6 (output 600 x 900 px), and saved as JPEG at 92% quality. Position yourself in the centre of the original frame, with some space above your head, so the crop keeps your head and shoulders.
Pixel dimensions do not set a print size in centimetres. If you need a physical print at a certain size, set that in your print software or at the print shop. If your form limits the file size, for example to 200 KB, pass the downloaded photo through the 200 KB JPG compressor.
What this tool is not
It is an editing aid. It does not check biometric rules such as head size, eye position, expression or glasses, and it does not guarantee that a passport office or recruitment portal will accept the photo. Those decisions belong to the receiving authority and its current instructions on size, ratio, colour code and attire. If you need a blue background instead, switch colours in the same tool or open the blue background version; a photo that already has a blue background can be switched to red the same way. Your photo is processed in the browser and is never uploaded.
How to use
Choose a photo
Select one front-facing photo of yourself taken against a reasonably plain wall, with no one else in the frame.
Pick the crop ratio
Choose 3:4 for a 600 x 800 px result or 4:6 for 600 x 900 px. The crop is taken from the centre.
Select red background
Keep the background set to red. You can switch to blue in the same tool if your form asks for it.
Check the preview
The first run downloads the recognition engine once (about 13 MB). Then look closely at hair edges, a hijab, shoulders and the frame edges to make sure only the background changed.
Download
Download the JPEG once the preview appears, then compress it if your form has a KB limit.
Other sizes and tools
Frequently asked questions
Will my white shirt or light hijab turn red?
Does the tool detect my face or body?
Does my wall have to be white?
Why does the first run take longer?
Will the photo meet official passport rules?
What size in centimetres is the output?
Is my photo uploaded?
Can I keep the photo without cropping it to 3:4 or 4:6?
More tools
Try Dokurapi for Free
No account needed. Pick a tool, drop in a file, and download the result, free.