ResizeKB

Resize Image to 50KB

Preset to a 50 KB target — compress your photo or document scan locally, keep the best possible quality, and download in one click.

50 KB
5 KB1 MB

The 50 KB ceiling appears on Indian state job boards, bank KYC portals, insurance claim systems, and several municipal and civil service forms. A smartphone photo typically starts at 2 to 5 MB — roughly 40 to 100 times over the limit — and the path to 50 KB usually requires a combination of dimension reduction and quality adjustment rather than quality alone.

This page makes the fix straightforward. The slider is preset to 50 KB; drop in your image and press Compress. The engine re-encodes the image as JPEG and binary-searches quality settings, checking the actual output byte count at each step, until it finds the version that lands at or under 50 KB while preserving as much visual quality as possible. When quality reduction alone would require dropping below the point where artifacts become visible, the tool also reduces dimensions.

Results at 50 KB depend on content. A passport-style portrait with a plain background resized to 1200 pixels on the long edge fits under 50 KB at JPEG quality around 75, which looks clean on any form review screen. A busy street photo or densely formatted document scan may need a shorter dimension to stay under the limit at the same quality level — the results panel shows you both the output size and dimensions before you download.

Nothing you process here is transmitted to any server. The image is decoded and re-encoded by your own browser using its built-in canvas APIs, with no upload and no trace. That is the standard this site holds for every tool, and it matters particularly for the identity documents and bank paperwork that commonly carry a 50 KB limit.

Why 50 KB is the trickier ceiling

A 100 KB limit is usually forgiving. Drop quality to the high 70s, keep dimensions close to original, and most phone photos land underneath it without looking touched. At 50 KB, the math gets harder. Half the byte budget means either dimension reduction enters the picture sooner or quality must drop further into territory where block artifacts become visible at normal preview sizes.

The underlying reason is the non-linear shape of JPEG compression. Moving from quality 90 to quality 80 typically cuts file size by 40 to 55 percent — the encoder discards high-frequency texture the eye reconstructs anyway, and those coefficients are expensive. Moving from quality 75 to quality 60 saves another 25 to 35 percent. But each step below quality 55 starts producing visible 8x8 block boundaries, especially around smooth gradients and fine text. At 50 KB, the quality dial often lands between 55 and 68 for a standard portrait — still acceptable on a form thumbnail, noticeably soft on a zoomed inspection.

The practical upshot: for a 12-megapixel phone photo, hitting 100 KB almost never requires resizing dimensions. Hitting 50 KB from the same starting point usually does — dropping the long edge to 1200 or 1000 pixels and then applying quality reduction is the sequence that keeps visible quality highest while still reaching the target.

The right sequence: dimensions before quality

When the target is 50 KB, the order of operations matters. Trying to reach 50 KB through quality reduction alone from a 4032x3024 source typically forces quality below 45, which is deep enough to produce obvious smearing on skin tones and hard halos around text. Reducing dimensions first — to 1200 pixels on the long edge, say — cuts pixel count to roughly one ninth of the original. File size follows proportionally, bringing a 4 MB original to around 200 to 300 KB at quality 85. The remaining gap to 50 KB then costs only a modest quality step, landing around quality 72 to 78, where the image still looks clean at standard form review sizes.

A concrete worked example: a 4032x3024 passport photo at 4.1 MB. Quality-only path — quality 70 gives roughly 250 KB, quality 55 gives roughly 110 KB, quality 40 gives roughly 60 KB, quality 35 gives roughly 47 KB. The result at quality 35 is technically under 50 KB but shows visible block patterns on the face. Mixed path — resize to 1024x768, quality 75 gives roughly 48 KB, visually clean. The mixed path reaches the same byte count at quality 75 versus quality 35. That 40-point quality difference is plainly visible side by side.

The tool on this page applies the mixed strategy automatically when the quality-only path would require dropping below a threshold that produces visible artifacts. You can also enable the dimension reduction toggle manually if you want to control the trade-off. Either way, the results panel shows you the actual output size and pixel dimensions before downloading — check them against the form's requirements before submitting.

What actually fits under 50 KB

The table below gives typical ranges for common source types. Your actual results depend on scene complexity — a portrait with a plain background compresses more aggressively than one shot in a crowded market — but the table tells you which lever to reach for first.

Source typePath to 50 KBExpected quality at output
12 MP phone portrait, plain backgroundResize to 1200 px long edge, quality ~75Clean — no visible artifacts at form sizes
12 MP phone portrait, busy backgroundResize to 1000 px long edge, quality ~72Slight softness in background detail
Scanned A4 document, 300 DPIResize to 1240 px long edge, quality ~68Text readable; fine rule lines may soften
PNG screenshot (flat colors, sharp text)Convert to JPEG, resize to 900 px, quality ~70Slight haloing around text edges
Cropped signature scan (200×80 px)Quality reduction alone, ~72Clean — signatures are low-frequency content

Six portals where 50 KB is the hard ceiling

Indian state-level job boards. Several state public service commission portals — including those in Rajasthan, Bihar, and Uttar Pradesh — cap the applicant photo at 50 KB. They pair this with a minimum size requirement of around 20 to 30 KB, which means compressing too aggressively creates the opposite problem. The window is narrow: the tool's binary search automatically targets the high end of the acceptable range rather than the absolute minimum.

Bank account opening documents. Several cooperative and small finance banks in India specify 50 KB for the KYC photo during account opening. The limit dates to when the photo was stored directly in the core banking system's database row rather than a file system. The field size was set during an early system integration and never changed despite camera resolutions growing by an order of magnitude.

UK passport photo check tool. The HMPO online checker accepts photos up to 50 MB for its quality check, but the actual passport application portals used by third-party countersigning services frequently cap the upload at 50 KB. The photo requirements — white background, plain expression, 45x35mm print size — mean the useful image area is actually smaller than a standard portrait, which helps reach 50 KB at higher quality.

Online insurance claim portals. Indian insurer claim portals from IRDAI-regulated companies often cap document uploads at 50 KB per page. A medical bill photograph taken on a phone is typically 2 to 4 MB; a single compression pass with dimension reduction to 1200 pixels lands it reliably under 50 KB.

Digital ration card and civil service registration. Some Indian state food and civil supplies portals that handle ration card applications or corrections cap family member photo uploads at 50 KB. These portals are often routed through common service centers and the file size cap is enforced at the center's upload client rather than the server — making the error message particularly opaque.

Municipal corporation forms. Property tax online portals in several Indian metropolitan areas require property owner photos under 50 KB. The connection between a property tax form and a photo seems bureaucratic, but these portals are often older NICNET-era systems where the document schema was designed to mirror paper forms and the byte limit reflects scanner technology from the early 2000s.

PNG versus JPEG when targeting 50 KB

For photographs, the conversion to JPEG is almost always the right move. PNG stores every pixel losslessly, which means a phone portrait saved as PNG weighs 8 to 15 MB — three to five times more than even a high-quality JPEG from the same source. Converting to JPEG and then applying quality reduction closes the gap to 50 KB with far less dimension sacrifice. Keep the original PNG as your source file; let the tool output a JPEG.

The exception is digital signatures on white backgrounds and scanned official seals. These consist almost entirely of black or colored lines against white, a pattern PNG compresses to almost nothing and JPEG handles poorly — the encoder treats the high-contrast edges as high-frequency texture and smears them. A clean signature scan of 200x80 pixels in PNG format typically weighs 4 to 12 KB naturally, well below 50 KB, so no conversion or compression is needed. If the portal demands JPEG even for signatures, the JPEG conversion of a clean black-on-white signature at quality 80 usually lands around 10 to 20 KB — still comfortably under 50 KB.

WebP occupies a middle ground. WebP lossy at matched quality is roughly 25 to 35 percent smaller than JPEG, which sounds appealing when the target is 50 KB. But most of the form portals that enforce a 50 KB ceiling also specify JPEG as the required format — or their upload validators reject WebP because it was not a mainstream format when the portal was built. This tool outputs JPEG to guarantee compatibility with portals that do not explicitly accept newer formats.

EXIF metadata: what it costs at 50 KB

A modern smartphone EXIF block — GPS coordinates, embedded thumbnail, camera model, shooting parameters, ICC color profile — typically runs between 8 KB and 50 KB. On a 5 MB source image, that overhead is negligible. On a 50 KB target file, 15 KB of metadata is 30 percent of the entire byte budget. Stripping it before quality reduction starts frees up space for actual pixel data.

Re-encoding through the browser canvas strips the EXIF block automatically, because the browser decodes the image to a raw pixel array and then re-encodes it from scratch. The GPS coordinates, the embedded thumbnail, the camera fingerprint, and the capture timestamp all disappear. The output contains only pixels and a minimal JPEG APP0 header of roughly 50 bytes. This is not a separate strip step — it is a side effect of how canvas re-encoding works, and it happens on every pass through any canvas-based image tool.

Two practical notes follow from this. The output file is smaller than a same-quality-setting encode that kept EXIF would be, which means the binary search sometimes converges at a quality level slightly higher than a naive calculation would suggest. And any downstream system that reads GPS location or shooting date from EXIF will not find it in the compressed output. For a form photo or KYC document this is a feature, not a loss.

Avoiding the two most common failure modes

The first failure: compressing from an already-compressed JPEG. If you downloaded a photo from WhatsApp or opened it in a photo editing app and re-saved it before compressing, you are starting from a file that has already paid a quality penalty. Re-encoding that file at the quality settings needed for 50 KB applies the penalty twice, and the result looks worse than compressing from the camera original would have at the same byte count. Always compress from the highest-quality version you have — the original file from the camera roll, not a WhatsApp forward.

The second failure: trusting the preview instead of the size readout. A browser or phone photo viewer applies sharpening when displaying small images, which makes the compressed output look crisper in the preview than it will look when the portal displays it at its actual rendering size. The numbers in the results panel — actual output file size in KB, actual pixel dimensions — are what the portal's upload validator will measure. Check both before downloading.

A third minor failure worth knowing: KB versus KiB ambiguity. Most form portals say '50 KB' but measure the upload in kibibytes (KiB), where 1 KiB = 1024 bytes and 50 KiB = 51,200 bytes. Some portals measure in kilobytes, where 1 KB = 1000 bytes and 50 KB = 50,000 bytes. The difference is about 2.4 percent — small enough that leaving a 5 percent margin below the stated limit (targeting 47 KB instead of 50 KB) covers both interpretations.

How privacy is handled

Nothing you process on this page leaves your device. The image is decoded and re-encoded by your browser's built-in canvas and encoding APIs — a technology standardized in HTML5 that runs entirely locally. No file is transmitted to any server; the compression is done by the same browser process rendering the page. You can disconnect from the network after the page loads and the tool continues to function without interruption.

This matters especially at the 50 KB target, because the documents compressed to that size are disproportionately identity-sensitive: national ID cards, PAN card scans, ration card photos, bank KYC documents, passport-style photos. Those are exactly the files where an upload to an unknown third-party server creates risk. Keeping the processing local removes the risk rather than managing it with a privacy policy.

The service is free and unlimited — no account, no watermark, no per-day cap, consistent across mobile and desktop. If your target is not 50 KB, the slider covers 5 to 1000 KB and the preset pages for 20 KB and 100 KB cover the other common limits from Indian exam portals and immigration forms respectively.

Choosing the right image dimensions before compressing to 50 KB

One of the most overlooked decisions when targeting a 50 KB ceiling is choosing the output pixel dimensions intentionally rather than letting the compressor decide. Many tools shrink dimensions automatically to the smallest size that satisfies the byte limit, which can produce output that a portal rejects because it falls below the stated minimum resolution — a common requirement of 200x200 pixels for photos on government ID portals, for instance. Knowing the minimum dimension requirement before you compress lets you anchor the resize step at the right floor rather than compressing blindly.

For portrait-orientation photos — the most common category at this limit — the useful dimension range for 50 KB JPEG output is broadly between 800 and 1400 pixels on the long edge. Below 800 pixels, the face in a passport-style photo starts to look noticeably small at the 300 to 400 pixel display sizes that forms typically use. Above 1400 pixels, reaching 50 KB requires JPEG quality settings in the low 60s or below, which produces visible block artifacts on skin tones and clothing edges. The sweet spot for most passport and KYC photos is 1000 to 1200 pixels long edge at quality 70 to 78, where the output is visually clean and well within the display resolution of any form review screen.

Landscape-orientation photos — such as property documents, utility bills photographed as evidence, or group photos for club registrations — follow similar arithmetic but the aspect ratio matters more. A landscape photo at 1200x900 pixels has roughly the same pixel count as a portrait at 1000x1333 pixels, and both arrive at similar byte counts at the same quality setting. What differs is how the portal displays the thumbnail: landscapes often display wider than portraits at a fixed pixel height, making dimension mismatches more obvious. Check whether the portal specifies an aspect ratio alongside the file size ceiling, and crop before compressing if required.

For document scans rather than photos, the dimension question is about legibility of text. An A4 document scanned at 300 DPI produces an image of roughly 2480x3508 pixels. Resizing that to 1240 pixels on the long edge — half the DPI equivalent — keeps text readable at the 600 to 800 pixel display widths that most portal document viewers use. Going below 1000 pixels on the long edge for a document with body text smaller than 12 point risks making the text illegible at the form review stage, which can cause a rejection on content grounds even if the file size is within range. The tool defaults to a quality-optimized strategy, but the manual dimension toggle lets you hold a specific minimum output resolution while the quality binary search handles the remaining gap to 50 KB.

Color space is a smaller consideration but occasionally relevant. Photos taken on iPhones since the iPhone 7 use the Display P3 wide color space, which contains colors outside the sRGB gamut that JPEG and most portal renderers do not handle correctly. The browser canvas API automatically converts to sRGB on re-encode, so the output is always sRGB-compatible regardless of the source color profile. This conversion is lossless in practice for face photos — the out-of-gamut colors that P3 adds over sRGB appear mainly in highly saturated objects, not skin tones or clothing at typical portrait exposures.

Mobile workflows for compressing photos to 50 KB on a phone

A significant share of 50 KB form submissions happen on mobile devices — the Indian government app ecosystem in particular drives millions of photo uploads from Android phones. The friction point is that most form apps open a file picker that reads from the camera roll, and the camera roll photo is almost always 2 to 5 MB. Compressing to 50 KB before submission requires a browser-based or app-based intermediate step, which adds a hand-off that desktop users do not face.

The most reliable mobile workflow is to open this page in Chrome for Android or Safari for iOS, compress the photo in the browser, and save the output to your downloads folder or photo library. The saved file can then be picked from the file picker in the form app. This works because the browser's canvas re-encode step writes a standard JPEG file to the device's filesystem, indistinguishable to the form app from a photo taken at lower resolution. On Android, the downloaded file appears in Files > Downloads immediately. On iOS, it appears in Files > On My iPhone > Downloads or in the Photos app if you save from the share sheet.

The second workflow is screen-capture-then-compress, which sounds counterintuitive but works for certain document photos. If you cannot access the camera roll file directly — common in corporate managed device policies where a device management profile restricts file access — you can take a screenshot of the photo displayed on screen, which bypasses the file restriction because screenshots always go to the standard photos library. The screenshot is lower resolution than the original but for a form-size portrait the quality difference at 50 KB is negligible. This is not recommended for biometric passport photos where the portal validates against a database, but for supporting document photos like address proof it is a practical workaround.

Battery state affects compression speed noticeably on mobile. Modern phones throttle CPU performance when the battery drops below around 20 percent to extend runtime. The binary search this tool runs involves multiple encode passes — typically 5 to 8 iterations for a 4 MB source at a 50 KB target — and each pass can take 0.8 to 2 seconds on a throttled mid-range Android CPU versus 0.2 to 0.5 seconds at full performance. The total compression time on a low-battery mid-range device can approach 15 to 20 seconds. If the form has a session timeout — common on state government portals that time out after 5 minutes of inactivity — compressing before opening the form rather than inside it avoids the race.

File naming matters on some portals. Several Indian state government form apps validate the uploaded filename pattern, rejecting files whose names contain spaces, non-ASCII characters, or specific extensions like .jpeg versus .jpg. The tool outputs a file named after the original with a suffix, typically ending in .jpg. If the portal rejects with a filename error, rename the output file to something alphanumeric before re-uploading — photo_50kb.jpg or applicant_photo.jpg typically passes filename validation on all portals tested. Filename-based validation errors are not always distinguished from size or format errors in the portal's error message, so if a correctly-sized JPEG is rejected, try renaming before retrying.

Passport and exam form photos: exact numbers that pass 50 KB

Government exam portals in India — UPSC, SSC, IBPS, RRB, and state-level boards — almost universally require the passport-style photo to be between 20 KB and 50 KB, with pixel dimensions between 200x230 and 400x460 pixels. Those constraints interact in a way that is less obvious than it looks: a 400x460 pixel JPEG at quality 85 typically weighs 22 to 30 KB for a plain-background portrait, comfortably inside the range without aggressive compression. The constraint most candidates hit is the minimum, not the maximum — they compress too hard, land at 8 KB, and the portal rejects with an unhelpful 'file size too small' message.

The safe targeting range for exam photos is 30 to 45 KB. That leaves a 5 KB margin below the 50 KB ceiling and sits far enough above the typical 20 KB floor that minor variation in scene complexity does not cause an underflow. To land in this range from a phone photo, resize to 350x400 pixels and apply JPEG quality 78 to 82. For a typical plain-background studio portrait, this produces output between 24 and 38 KB. For a more complex background — a home setting, a window with outdoor light — the same settings produce 32 to 46 KB because the encoder has more texture to represent. The background is the biggest variable, not the quality setting.

Signature images follow different arithmetic. Most Indian exam portals require the signature to be between 10 KB and 30 KB, with dimensions around 140x60 pixels. A clean black-ink signature on white paper photographed in good light, cropped to 140x60 pixels, saved as JPEG quality 80, typically weighs 4 to 10 KB — below the 10 KB floor. The fix is to photograph the signature in dimmer light or with a slightly lower-contrast background rather than pure white, or to use a PNG-to-JPEG conversion at quality 90 with a faint off-white background fill. These keep the file above the floor without introducing visible quality issues.

Document typeRequired dimensions (px)Target size rangeQuality setting to use
UPSC/SSC exam photo200×230 to 400×46020–50 KBQuality 75–82 at 350×400
IBPS / bank exam photo200×200 to 450×45020–50 KBQuality 72–80 at 400×400
RRB (railway) photo140×160 minimum10–40 KBQuality 70–78 at 300×350
State PSC photo (Rajasthan / Bihar)200×23020–50 KBQuality 75–82 at 300×345
Passport photo (India, e-form)200×200 minimum10–50 KBQuality 78–85 at 400×400
Signature image (most portals)140×60 to 200×8010–30 KBQuality 85–90 at 140×60

Pixel dimensions versus file size: the complete lookup table

The table below maps common output pixel dimensions to expected JPEG file size ranges for two typical subjects — a plain-background portrait (the easier case) and a moderately complex background portrait (the harder case). Use it to decide which dimension to target before you compress, so you are not surprised by the output size after the fact.

All values assume a standard smartphone photo as source (12 MP, taken in adequate indoor or outdoor light), re-encoded to JPEG with no chroma subsampling. Complex backgrounds — outdoor scenes with trees, busy interiors, textured walls — will produce files toward the upper end of each range. Very plain studio backgrounds will produce files toward the lower end. The quality values shown are approximate convergence points for a binary search targeting exactly 50 KB.

Output dimensions (px)Plain background sizeComplex background sizeApprox. quality at 50 KB
800×60018–26 KB28–38 KBQuality 88–92 (below 50 KB at any quality)
1000×75026–38 KB40–55 KBQuality 82–88 (just at limit for complex)
1200×90038–55 KB60–85 KBQuality 72–80 for plain; 62–70 for complex
1400×105055–78 KB85–120 KBQuality 62–70 for plain; 52–62 for complex
1600×120075–105 KB115–160 KBQuality 54–62 for plain; 44–54 for complex
2000×1500115–160 KB175–240 KBQuality 44–52 for plain; 35–44 for complex
3000×2250240–340 KB370–520 KBQuality 30–38 (visible artifacts likely)
4032×3024 (12 MP native)400–600 KB700–1100 KBQuality ≤25 (not recommended)

Why your 50 KB upload was rejected: a troubleshooting checklist

A file that measures under 50 KB can still be rejected by a portal for reasons unrelated to compression quality. The following checklist covers the eight most common causes, ranked by frequency based on patterns seen across Indian government exam and service portals.

The first and most common cause is a KB versus KiB measurement mismatch. As noted earlier, portals typically display '50 KB' but measure in kibibytes (1 KiB = 1024 bytes, so 50 KiB = 51,200 bytes), while some measure in kilobytes (1 KB = 1000 bytes, so 50 KB = 50,000 bytes). A file that is 50,500 bytes is under 50 KiB but over 50 KB. Target 47 to 48 KB to clear both interpretations with margin.

The second cause is the wrong image format. Portals that display a file size error may actually be rejecting the file format. A WebP file renamed to .jpg is still a WebP internally and will fail MIME-type validation on any portal that checks the file header rather than just the extension. Ensure the output is a genuine JPEG by using a canvas-based re-encode rather than a file rename.

The third cause is an incorrect aspect ratio. Many passport photo portals enforce an aspect ratio constraint — typically between 1:1 and 2:3 — and reject photos outside that range before even checking file size. If your photo was shot in landscape orientation, the error message may say 'invalid file' or 'format not accepted' rather than 'aspect ratio error', because the portal's validator returns a generic error for all pre-size failures.

The fourth cause is minimum dimension violation. Portals that state a minimum of 200x200 pixels will reject a file that is 190x210 pixels even if the aspect ratio is technically within range. Always confirm the output pixel dimensions in the results panel before downloading.

Rejection reasonPortal error message (typical)Fix
File over 50 KiB (KB vs KiB mismatch)'File size exceeds limit'Target 47 KB instead of 50 KB
Wrong format (WebP or PNG renamed to .jpg)'Invalid file format' or 'Upload failed'Use canvas re-encode to produce real JPEG
Aspect ratio out of range'Invalid file' or 'Format not accepted'Crop to required ratio before compressing
Below minimum pixel dimensions'Image too small' or 'Resolution not met'Check output px dimensions in results panel
Below minimum file size (e.g. under 20 KB)'File size too small'Use higher quality or larger dimensions
Filename contains spaces or special characters'Upload failed' or 'Invalid filename'Rename to alphanumeric + .jpg before uploading
EXIF orientation flag causes portal to display sideways'Photo orientation incorrect'Rotate to upright before compressing
Embedded ICC profile rejected by old portal validator'Unsupported color profile'Canvas re-encode strips ICC; use browser-based tool

Frequently Asked Questions

How do I compress an image to exactly 50KB?

Load your image above — the slider is already set to 50 KB — and click Compress. The engine binary-searches JPEG quality settings, encoding and measuring actual output bytes at each step, until it finds the version at or under 50 KB with maximum visual quality. The results panel shows the exact output size and pixel dimensions before you download. If quality reduction alone would produce visible artifacts, the tool automatically reduces dimensions as well to reach the target cleanly. No account or upload needed.

Will a 50 KB photo still look acceptable on a form?

Usually yes, especially for passport-style portraits and plain-background photos. A 12-megapixel phone portrait resized to around 1200 pixels on its long edge typically fits under 50 KB at JPEG quality 72 to 78, which looks clean at the 200 to 400 pixel display sizes forms use. For document scans with small text, results depend on the original scan quality — fine print at 50 KB may soften slightly at 200 percent zoom but remain legible at normal reading sizes. Check the preview against the form's minimum requirements before submitting.

Why does the tool reduce dimensions when I only asked for compression?

Because reaching 50 KB through quality reduction alone from a large original forces quality settings below the point where block artifacts become visible — typically below JPEG quality 45. Reducing dimensions first cuts pixel count proportionally and brings the file into a range where the remaining gap to 50 KB can be closed with a quality setting in the 70s, which is visually clean. The mixed strategy reaches the same byte count at a much higher quality value. You can disable the dimension reduction toggle if the form specifies a minimum pixel size and you want manual control.

The portal says 50 KB but my file at 50 KB is being rejected. Why?

The most common cause is KB versus KiB ambiguity. Some portals state '50 KB' but validate using kibibytes (1 KiB = 1024 bytes), while others use kilobytes (1 KB = 1000 bytes). The difference is about 2.4 percent. Set your target to 47 KB instead of 50 KB to leave a margin that covers both definitions. The second common cause is a separate pixel dimension check — the portal may reject photos below a minimum resolution even when the file size is within range. Read the form's photo requirements for both numbers.

Should I convert my PNG to JPEG before targeting 50 KB?

For photographs, yes — PNG stores pixels losslessly and a phone portrait as PNG weighs 8 to 15 MB, making compression to 50 KB far more expensive in quality terms. Converting to JPEG first (the tool does this automatically) allows quality settings in the 70s at modest dimensions. For clean signature scans and flat-color diagrams, PNG compresses to far less than 50 KB naturally and conversion to JPEG adds unwanted haloing around edges — keep those as PNG or check if the portal accepts PNG.

What minimum pixel dimensions should I keep when compressing to 50 KB?

For passport and KYC portrait photos, keep the long edge at 800 pixels or above — most portals require at least 200x200 pixels, and going below 800 pixels makes faces look noticeably small at the 300 to 400 pixel display sizes forms use. For document scans with body text, keep the long edge at 1000 pixels or above to ensure 12-point text stays legible at the portal viewer width. The tool lets you set a minimum output dimension via the manual toggle so the binary search holds that floor while adjusting quality to hit 50 KB.

How long does compression to 50 KB take on a mobile phone?

On a mid-range Android phone at full CPU performance, each encode pass takes roughly 0.2 to 0.5 seconds, and the binary search typically requires 5 to 8 passes, so total compression time is 1 to 4 seconds for a 4 MB source. On a low-battery device where the CPU is throttled, each pass can take 0.8 to 2 seconds, pushing total time to 8 to 20 seconds. Compress before opening the form if the portal has a 5-minute session timeout — common on state government portals — to avoid a time-out race.