Skip to content
KBExactKB

Increase an image to a minimum file size, without adding blur

Files stay on this device. Nothing is uploaded.

A few older exam and immigration systems refuse files under 50KB or 100KB, even when the photo is already clear. Compressors cannot help. ExactKB appends a JPEG COM comment segment so the file grows to the minimum with the pixels untouched.

Minimum size checks are real, and they are silly

Some 2010-era validators assumed any photo under 50KB must be a broken upload. Applicants who already have a small signature JPG get rejected. Re-saving at quality 100 barely moves the needle and can introduce ringing. Padding the container is the honest fix: the decoder ignores COM segments, pixels stay identical.

How it works

  1. Drop the too-small JPG, PNG, or HEIC.
  2. Set the minimum — 50KB and 100KB presets are the usual asks.
  3. Process. If the file is already larger, it is re-encoded once at high quality without padding.
  4. Download and verify the Finder/Explorer size meets the form’s minimum.

Forms that reject files that are “too small”

Where it shows upTypical capNotes
State exam photo validatorsmin 50KBAlso max 100KB on the same field
Passport e-quota systemsmin 20–50KBRejects empty-looking JPEGs
Bank cheque-image uploadmin 50KBQuality floor implemented as a size floor
Legacy ColdFusion formsmin 100KBHard-coded client validation

Grow the file, do not invent fake detail

After a high-quality JPEG encode, if byteLength is still below the minimum, ExactKB inserts a COM marker filled with harmless padding until the length matches. Image viewers and browsers ignore it. No upscaling, no generated texture.

FAQ

Will the portal notice padding?

Validators that only check Content-Length or file size will pass. We have not seen a government form parse COM segments.

Does this make the photo look bigger on screen?

No. Pixel width and height stay the same. Only the file size changes.

Can I pad to 500KB?

Yes via custom size, but if the form also has a max, stay inside both.

PNG output?

Output is JPEG so the COM pad is well-defined.

Is this the same as adding metadata?

It is a comment, not GPS. The EXIF strip still happens on encode.

Related tools