Skip to content
TryDocsy

Photo Resizer for Exams

Resize your photo to exact specifications required by government exams

Upload your photo

JPG, PNG, WEBP (HEIC in Safari, max 10MB)

Select Exam / Document Type

Central

Banking

Railway

ID

Custom

Dimensions & Size

Most exams require 20-50 KB. Enter exact value like 50 or 45.5

Preview will appear here

Select an exam type, upload your photo, and click Resize

Tips for Best Results

  • - Use a recent, clear photo with white background
  • - Face should be centered and clearly visible
  • - Avoid shadows on face or background
  • - Photo should be taken in good lighting

100% Private: Your photos are processed entirely in your browser. Nothing is uploaded to any server.

Original photo3.4 MB · uncropped200 × 230 pxPortal-ready JPG32 KB · 20–50 KB rangeSSC / IBPS CheckDimensions: PassFile size: 32 KB✓ Ready to submit
The resizer frames 70% to 80% face coverage, matches required pixel or centimeter dimensions, and targets your exam's exact KB bounds.

Photo Resizer for Exams formats passport-style portraits to the exact pixel dimensions and byte thresholds mandated by central, banking, railway, and state recruitment portals. Instead of guessing quality sliders in desktop graphics suites, candidates select an official preset or specify custom pixel bounds and maximum kilobyte caps. The tool handles framing, high-resolution rendering, and size compression in a single browser pass.

All image manipulation executes locally through native HTML5 Canvas routines, meaning portrait files never leave your computer or smartphone. While this client-side architecture guarantees immediate privacy for sensitive identification photos, processing relies on browser decoding; standard desktop browsers handle JPG, PNG, and WEBP seamlessly, while Apple HEIC files decode natively inside Safari.

How it works

  1. 1. Upload your portrait photo

    Click the dashed upload box or drag an image into the dropzone. The tool accepts JPG, PNG, WEBP, and HEIC files up to 10 MB, immediately generating an in-memory preview.

  2. 2. Select an official exam preset or enter custom bounds

    Choose a target authority such as UPSC, SSC, IBPS, Railway RRB, or Indian Passport to populate standardized pixel dimensions and file size ceilings, or choose Custom Size to configure your own width, height, and target kilobyte values.

  3. 3. Execute crop and binary compression

    Click the Resize Photo button. The tool centers your portrait, crops excess width or height to preserve the required proportion, renders the image onto a virtual canvas, and executes a 15-iteration binary search to meet target bytes.

  4. 4. Inspect specifications and download

    Examine the output resolution and file size badge on the confirmation card, then click Download Photo to retrieve your compliant JPEG file labeled with the exam name and pixel dimensions.

When you'd use it

  • Staff Selection Commission (SSC CGL and CHSL) applications

    Candidates uploading identity photos to SSC portals require precisely 200×230 pixels between 20 KB and 50 KB. The tool scales the portrait to exact pixel limits and prevents under-20 KB rejection.

  • UPSC One Time Registration (OTR) profile setup

    UPSC portals require square portraits configured between 350×350 and 1000×1000 pixels at 20 KB to 300 KB. The 400×400 preset produces an optimal resolution well within the allowed bandwidth.

  • Banking recruitment (IBPS and SBI PO/Clerk) submissions

    Banking registration portals enforce a strict 20 KB minimum and 50 KB maximum ceiling with a 200×230 aspect ratio. Automated binary compression prevents portal upload timeout errors.

  • Railway Recruitment Board (RRB NTPC and Group D) forms

    Railway boards specify 3.5×4.5 cm portraits at 300 DPI (413×531 pixels) capped at 50 KB. The dedicated preset guarantees precise print-density conversion without manual DPI recalculation.

  • International visa and passport digital filings

    Online visa filings such as US DS-160 require square 600×600 pixel images between 50 KB and 240 KB, while Schengen submissions demand 413×531 pixels up to 500 KB.

Aspect ratio cropping versus distortion

Government portals automatically check the pixel width and height of uploaded portrait files. Uploading an unadjusted photo from a modern smartphone (which typically captures at 4:3 or 16:9 ratios) into a 200×230 pixel slot causes portal scripts to either reject the upload or compress the face horizontally into an unflattering, distorted oval.

This utility avoids distortion by calculating the source aspect ratio against the destination bounds before drawing onto the canvas. If the source image is wider than the target frame, the algorithm trims equal slices from the left and right margins while preserving the vertical center. If the source is taller, it trims equal bands from the top and bottom. The resulting facial portrait remains natural, upright, and centered.

Binary search compression and minimum kilobyte padding

Reaching a tight file window such as 20 KB to 50 KB is notoriously difficult with standard image editors. Saving at high quality easily exceeds 50 KB, while saving at low quality risks dropping below 20 KB, triggering portal validation errors. This tool solves the problem using an automated 15-iteration binary search algorithm.

The script tests successive JPEG compression quality factors between 0.10 and 1.00 on the canvas until it discovers the highest visual clarity that stays beneath the maximum byte limit. If a clean, low-noise headshot compresses smaller than the portal's mandatory minimum floor (such as 20 KB), the tool invokes trailing-byte zero padding past the JPEG End of Image marker. This technique satisfies server-side file size inspectors while preserving 100% of the decoded image fidelity.

Common portal rejection triggers and prevention

Most application rejections stem from preventable lighting, background, and framing errors rather than numerical dimensions alone. Official guidelines universally mandate a plain white or light-colored background without patterns, shadows, or outdoor scenery. The applicant's face must occupy roughly 70% to 80% of the vertical frame, looking directly into the lens with both ears visible.

Applicants should remove tinted spectacles, heavy frames, and caps or head coverings unless worn for religious reasons. Flash glare reflected on glass lenses is a frequent reason for automated scrutiny failure. For best results, capture your photo in diffused daylight facing a clean white wall, crop close to the collarbones, and run the photo through this tool to lock in the required pixel geometry.

Frequently asked questions

Will resizing my photo distort or stretch my face?

No. The tool calculates the proportional difference between your original picture and the target preset. It crops equal margins from the excess edges to center your face before resizing, ensuring your facial features are never stretched or compressed.

Why is there a minimum file size requirement on exam forms?

Recruitment servers set minimum thresholds (typically 20 KB) to block heavily pixelated or illegible photos. When our binary search produces an ultra-clean image below the required floor, it safely pads the JPEG structure to satisfy the server validator.

Can I upload HEIC photos taken on an iPhone?

Yes, if you open TryDocsy in Safari on macOS or iOS, which provides native browser HEIC decoding. On Chrome, Firefox, or Windows browsers that lack HEIC support, convert the photo to JPG or PNG first.

Are my uploaded personal photos sent to any remote server?

No. All canvas transformations, cropping operations, and JPEG encodings execute strictly within your local browser runtime. No image data or metadata is ever transmitted over the network.

What should I do if my exam is not listed in the presets?

Select the Custom Size option from the preset menu. You can manually enter the exact width in pixels, height in pixels, and the maximum file size in kilobytes specified in your official exam brochure.

Does this tool automatically remove colored backgrounds?

No. This tool crops, resizes, and compresses your photo. If your original image has a dark or busy background, use our dedicated background remover tool first, then import the resulting white-background portrait here.

Step-by-step guides using this tool