This page is a resize-first tool. You pick the box — pixels, a percent of the original, or a print size in centimetres, millimetres or inches at 72, 200 or 300 DPI — and FlashKit Tools draws the photo into that box in this tab. It is not the image compressor with a resize checkbox. Compression is an optional last step (“also keep under N KB”). Nothing is uploaded. There is no account and no FlashKit watermark. For passport photo size in mm and pixels and how cm, mm and DPI relate, the presets on this page match those walkthroughs.
Fit modes match what people mean when they say resize. Fit (pad) keeps every pixel of the source inside the box and fills the rest; pad colour defaults to white, which is what most ID forms want around a too-narrow portrait. Fill (crop) fills the box and throws away overflow; you choose the anchor (centre is the default). There is no face detection and no “auto head crop.” Stretch maps the source onto the box even if the ratios differ, which distorts. Aspect lock keeps width and height moving together when you type a custom size.
Presets are grouped and cited. ID: India print 35×45 mm at 300 DPI (413×531 px), India Passport Seva digital 630×810 px, US 2×2 in at 300 DPI (600×600, inside the State Department’s 600–1200 px square range), UK / Schengen 35×45 mm. India forms: PAN photo 2.5×3.5 cm at 200 DPI (optional 20 KB) and PAN signature 4.5×2 cm at 200 DPI (optional 10 KB) from Protean Form 49A notes. Social: Instagram 1080×1080 and 1080×1350 from Instagram Help’s 1080-wide feed range, Instagram Story 1080×1920 from Meta’s Stories ad spec, YouTube thumbnail 1280×720 (16:9; Help also recommends up to 3840×2160), LinkedIn banner 1584×396 from LinkedIn Help. Common: 1920×1080, 1280×720, 1080×1080. WhatsApp does not publish a display-picture pixel size, so there is no invented WhatsApp DP preset. Exam (SSC/UPSC/IBPS) boxes change by notice, so those are left out.
Output can stay in the original format or become JPG, PNG or WebP. Transparent PNG to JPG is filled white, not black. When you chose millimetres, centimetres or inches (or a preset that names a DPI), JPEG gets a JFIF density stamp and PNG gets a pHYs chunk. Pixel-only boxes such as 630×810 are not stamped. DPI is metadata; it does not invent detail. HEIC from an iPhone is decoded in this tab only after you pick the file. Several files share the same settings; a ZIP uses the right extension per file. EXIF orientation is baked so a phone portrait is upright.
How to resize an image (3 steps)
- Drop JPG, PNG, WebP or HEIC. Nothing is uploaded. The HEIC decoder and ZIP library load only after this step.
- Set width and height in px, %, cm, mm or inches, or pick a cited preset. Choose fit (pad), fill (crop) or stretch. Lock aspect if you are typing a custom size.
- Optionally tick “also keep under a KB cap.” Download one file or a ZIP. JPEG and PNG can carry DPI when you chose a physical size.
Key Features
- Dimensions first: px, %, cm, mm or inches at 72 / 200 / 300 DPI
- Fit (pad, default white), fill (crop with anchor), or stretch — no face detection
- Cited ID, PAN, Instagram, YouTube and LinkedIn presets; no invented WhatsApp or exam pixels
- Optional keep-under KB using the existing compressor target-size engine
- Keep / JPG / PNG / WebP; transparent PNG → JPG fills white
- Batch ZIP with the correct extension; HEIC decoded only after you pick a file
Facts: inputs, outputs, where it runs
- Inputs: JPG, PNG, WebP, and HEIC/HEIF from an iPhone (decoded in this tab). Several files share one setting set.
- Outputs: keep the original type, or JPG / PNG / WebP. ZIP for a batch. Names keep the original base plus _resized and the real extension.
- Max size: the canvas cap is 8192 px per side. A 12 MP phone photo is a normal job. Very large files can exhaust a phone tab.
- Where it runs: this device. Sign-up: none. Watermark: none. FlashKit never receives the file.
- DPI: written into JPEG JFIF and PNG pHYs only for mm / cm / inches or a named-DPI preset. WebP has no density stamp here.
Pixels versus centimetres versus DPI
- Pixels are the grid. Centimetres and millimetres are paper. DPI (dots per inch) is how many of those pixels you intend to put in each inch.
- Formula: pixels = mm ÷ 25.4 × DPI. 35×45 mm at 300 DPI is 413×531 (rounded). 2×2 in at 300 DPI is 600×600. A 50% scale is half the source width and height.
- Changing the unit converts the displayed numbers so 800 px does not become 800 cm. That conversion is the same engine the compressor already uses for mm/cm, plus inches and percent here.
- Writing 300 into the JFIF header does not sharpen a 200 px file. If you need more pixels, start from a larger photo.
India passport 35×45 mm / 630×810 px, worked example
- Drop a JPG, PNG, WebP or HEIC. Nothing is uploaded. Pick the cited India print preset (35×45 mm at 300 DPI → 413×531 px) or India Passport Seva digital (630×810 px).
- Fill (crop) is the default on those ID presets so the box is filled; centre is the default anchor. There is no face detection. Check the preview before you submit.
- Pixels = mm ÷ 25.4 × DPI. 35×45 mm at 300 DPI is 413×531. 630×810 is a pixel-only digital upload and is not stamped 300 DPI.
- This is not an official passport photo maker. Matches the published size; check your portal’s current rules.
ID and form presets, without a guarantee
- Each preset matches a published size from a cited page. Portals change PDFs. The UI and this copy say “matches the published size; check your portal’s current rules.” This is not an official passport photo maker and does not claim acceptance by any government.
- India digital upload is 630×810 px (Passport Seva ICAO PDF). India / UK print is 35×45 mm. US digital photos must be square, 600–1200 px; 2×2 in at 300 DPI is 600 px (travel.state.gov).
- PAN 20 KB / 10 KB caps are optional keep-under steps on those two presets. Quality is searched first; scale drops only if you allow it.
- White pad is useful after a background fill. Face position is still your crop. Use the background remover if you need a white field, then come back here for the box.
Privacy and what this page will not claim
- Bytes stay in the tab. Closing the tab drops them. HEIC WASM and ZIP code load after a file is picked, not on first paint.
- No “AI”, no “lossless JPEG”, no “official,” no “accepted by Passport Seva / State Department / Instagram.”
- Need a smaller file at the same pixels? That is the image compressor. Need a transparent cut-out? That is the background remover. This page’s job is the box.
Frequently Asked Questions
Is my photo uploaded?
No. Resize runs in this browser tab. FlashKit does not receive the file. HEIC decoding and ZIP packing also stay here and load only after you pick a file.
How do I resize a photo to 35×45 mm?
Pick the India print preset (35×45 mm at 300 DPI) or type width 35, height 45, unit millimetres, DPI 300. Fill (crop) fills the box; fit (pad) keeps the whole photo and pads the rest, default white. Download when the preview looks right.
What is 35×45 mm in pixels?
At 300 DPI it is 413×531 (pixels = mm ÷ 25.4 × DPI). That is a print box, not the 630×810 px file Passport Seva wants for a digital upload. Both presets are on this page.
Does the US 2×2 in preset make 600×600?
Yes at 300 DPI: 2 × 300 = 600. travel.state.gov asks for a square between 600 and 1200 px. This is not a head-size checker.
Is DPI only metadata?
Yes. For mm, cm or inches (and named-DPI presets) JPEG JFIF and PNG pHYs are stamped. The pixels are whatever the box resolved to. WebP is not stamped. Pixel-only boxes stay unstamped.
Do you auto-crop to a face?
No. Fill mode crops from the anchor you pick (centre by default). There is no face detection. Check the preview before you submit an ID photo.
Can I keep the file under 50 KB after resizing?
Yes. Tick “also keep under a KB cap.” Quality is binary-searched first using the same engine as the image compressor. Dimensions shrink further only if you allow that step. The row shows the achieved KB (1 KB = 1,000 bytes).