Pakistan version. Set up for Pakistan: the default is the 350/467 pixel picture DGIP asks for in online passport applications, with crop-to-fill on so the face keeps its shape. US version
Photo Resizer for the Pakistan Online Passport (350 × 467)
Resize a phone photo to 350 × 467 pixels on a white background for the DGIP online passport form, cropped from the centre so your face is not stretched.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Image Resizer?
DGIP's online passport service lets Pakistanis abroad apply from home, and they supply their own picture. For each category in its document table (a newborn's first passport, damaged, exhausted and lost reprints, and partial modification) the page asks for the same thing: an original scan of a colour picture with a white background, 350/467 pixels, JPEG, and not more than 3 MB.
This page opens on 350 × 467 with Crop to fill switched on. That size is very nearly 3:4 (350 ÷ 467 = 0.749), the shape of a phone photo held upright, so a portrait loses only a pixel or two from each side and nothing is stretched. A landscape photo is a different story: the crop keeps the middle 2,248 pixels of a 4,000-pixel width, so stand in the centre of the frame.
Other forms want something else. FPSC caps its passport size picture at less than 30 KB without fixing pixels, so for that form use the Image Compressor with a 29 KB target. Resizing here happens in your browser and the file is not uploaded by this tool.
- Exact pixel, percentage and preset resizing
- Fit-inside aspect ratio maths with whole-pixel rounding
- Batch processing with drag and drop
- Presets from 400×400 to 4K UHD (3840×2160), plus upload-form photo and signature sizes
- Crop to fill an exact size without stretching
- Optional min and max file size in KB
- Descriptive file names such as photo_1440x1080.jpg
- Runs locally; images never leave your device
Updated
How to use the Image Resizer
- Choose Pixels or Percentage under Scaling Type.
- For Pixels, pick a Preset Size or type Width (px) and Height (px), and decide whether Maintain aspect ratio should stay on.
- For Percentage, enter a Scale (%) between 1 and 500.
- Drop images onto the upload area or click Choose Images. Each card shows the old and new dimensions and file sizes.
- Change the settings and click Resize All to redo the batch, then Download or Download All. Files are named like photo_1440x1080.jpg.
Worked examples
An upright phone photo to 350 × 467
Input
3000 × 4000 pixel portrait; Width 350, Height 467, Crop to fill on
Output
Exactly 350 × 467 pixels, cut from a 2,998 × 4,000 region (about 1 pixel trimmed from each side)
coverCrop finds the largest centred region with the target shape. Because the phone frame is already almost 3:4, the crop is invisible. The card shows the exact file size; at this pixel count it is a small fraction of the 3 MB limit.
A landscape photo taken by a relative
Input
4000 × 3000 pixel landscape; same settings
Output
350 × 467 pixels taken from the centre 2,248 × 3,000 region; 876 pixels cut from each side
With Crop to fill off and Maintain aspect ratio on, the same photo would come out 350 × 263, too short for the form. Cropping keeps the height and trims the width.
Reading 350/467 as centimetres
Input
A studio asks what print size 350 × 467 pixels is at 300 dpi
Output
About 2.96 × 3.95 cm
Centimetres = pixels ÷ dpi × 2.54. The online form checks pixels, not centimetres, so ask the studio for the digital file and resize that.
Background and insight
Aspect ratio is width divided by height. To fit an image inside a box without distortion you scale both sides by the same factor: the smaller of target width / original width and target height / original height. A 4000×3000 photo fitted into 1920×1080 gets min(0.48, 0.36) = 0.36, so it becomes 1440×1080. The height fills the box and the width stops short. Results are rounded to whole pixels and never drop below 1.
Pixel count grows with the square of the dimensions. Halving width and height leaves a quarter of the pixels, which is why resizing is usually the single biggest file-size saving for photos straight off a phone, where 12 megapixels (4032×3024) is common and a web page rarely needs more than 2000 pixels across.
Making an image larger cannot add detail. The canvas interpolates new pixels from existing ones, so a 400-pixel logo scaled to 1600 pixels looks soft. Very large reductions have the opposite issue: browsers may sample from too few source pixels and leave jagged edges. For extreme reductions, resizing in two steps (50%, then the final size) usually looks cleaner.
Common use cases
Website and CMS images
Bring phone photos down to 1600 or 2000 pixels wide before uploading them to a blog or store.
Social and profile pictures
Use the square presets for avatars and listings that expect 400, 800 or 1200 pixels.
Wallpapers and slides
Fit images to HD, Full HD, QHD or 4K UHD frames for presentations and screens.
Batch thumbnails
Scale a folder of images to 25% to produce quick previews for a gallery or document.
Tips and limitations
- Stand in front of a plain white wall in daylight; DGIP asks for a white background and the resizer cannot change the background for you.
- Hold the phone upright and keep your face in the middle. The crop works from the centre outwards.
- Keep the file as JPEG. The resizer always saves .jpg, which is the format the passport page names.
- For newborn passports the same 350/467 rule applies, so take the baby's photo on a white sheet and frame it upright.
Sources and further reading
- Online Passport, Directorate General of Immigration & Passports. Colour picture, white background, 350/467 pixels, JPEG/JPG, not more than 3 MB, for each online category
- Guidelines for Online Application Submission at FPSC (updated 09-09-2025), Federal Public Service Commission. Passport size picture in JPEG, less than 30 KB
- CanvasRenderingContext2D: drawImage() method, MDN Web Docs. The source-rectangle form the crop uses
Frequently asked questions
What size picture does the online passport application need?
DGIP's online passport page asks for an original scan of a colour picture with a white background, 350/467 pixels, in JPEG/JPG and not more than 3 MB. The page lists that same requirement for the newborn, reprint and modification categories.
How do I resize a photo to 350 × 467 without stretching my face?
Keep Crop to fill switched on. The tool scales the photo to cover 350 × 467 and trims the edges from the centre, so proportions stay correct. Switching both Crop to fill and Maintain aspect ratio off would stretch it instead.
Is 350 × 467 the same shape as a phone photo?
Almost. 350 ÷ 467 is 0.749 and a 3:4 photo is 0.75, so an upright phone photo loses about one pixel at each side. A landscape photo loses much more, which is why the subject should be in the middle.
Does the passport photo also have a KB limit?
Only an upper one: not more than 3 MB. A 350 × 467 JPEG is tiny next to that. Small KB limits such as FPSC's "less than 30 KB" belong to other forms, and the Image Compressor handles those.
Can I use this for NADRA or other forms?
Yes, by typing the width and height that form states. Each body sets its own figures; use the 350 × 467 default only for the DGIP online passport upload.
Is there an in-depth guide to the Image Resizer?
Yes. “Resize, Convert, Compress: A Practical Order for Web Images” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.