How to compress a photo and signature for an online form

Exam and government portals usually want two files at different sizes, and reject them without explaining why. The signature is the one that catches people out.

The method

Two separate files
Photo and signature almost always have different limits.
Order
Crop, resize to the stated pixels, then compress to the KB range.
Signature tip
Try PNG. Line art on white is often smaller and far sharper than JPEG.
Target
A few per cent under the maximum; check any minimum too.
Scanning
Even light, camera parallel to the paper, fill the frame.
Authoritative source
The portal's own instructions. They vary and they change.

Preparing both files

  1. Step 1: Capture the signature properly

    Sign in dark ink on plain white paper. Photograph it in even, indirect light with the camera parallel to the page, filling the frame. A shadow across the paper or an angled shot causes more rejections than any compression setting.

  2. Step 2: Crop each file to its required proportions

    Signature strips are usually wide and short; photos are usually square or portrait. Crop tightly — empty white space around a signature wastes both pixels and kilobytes.

  3. Step 3: Resize to the exact dimensions the portal states

    Produce precisely the pixel dimensions asked for. This is what makes the size limits achievable, and portals frequently check dimensions before they check anything else.

  4. Step 4: Compress each to its own target

    Use a target-size mode for each file separately — they have different limits. Aim a few per cent under the maximum, and confirm the result clears any stated minimum.

Details worth knowing

Why the signature comes out grey and broken

This is the single most common complaint, and it is a format problem rather than a settings problem.

A signature is line art: black strokes on a white background, with hard edges everywhere and no continuous tone. JPEG is built on the assumption that sharp transitions are rare, so it surrounds every stroke with ringing — faint grey echoes — and at the low quality needed to reach 10 or 20 KB those echoes become a visible haze.

Try PNG instead. A cropped black-on-white signature at modest dimensions is often under 20 KB losslessly, and it will be perfectly sharp rather than smudged. Check the portal accepts PNG first — many specify JPEG only, in which case crop tighter and keep the dimensions small rather than pushing the quality down.

Two files, two sets of rules

Portals almost always specify the photo and the signature separately, with different dimensions and different size ranges — and often a minimum as well as a maximum for each.

Handle them as two separate jobs. Compressing both to the same target is the quickest way to have one of them rejected, and the error message will rarely tell you which.

Photographing paper well

Most rejected signature uploads are bad captures rather than bad compression.

  • Even, indirect light. No glare band across the page, no hard shadow from your hand or phone.
  • Camera parallel to the paper. An angled shot produces a trapezoid that cannot be corrected later without cropping into the signature.
  • Fill the frame. Do not spend pixels on the desk around the page.
  • Plain white paper, dark ink. Lined or tinted paper reduces contrast and confuses automated checks.

Aim under the limit

A kilobyte means 1000 bytes to some systems and 1024 to others, and portals do not say which. A file you measure at 49 KB can be read as 50.2 KB elsewhere.

Targeting a few per cent under the maximum removes the risk entirely, and costs you nothing visible.

A note on privacy

You are handling a photograph of your own signature — a document worth protecting. Uploading it to a compression service puts a copy on infrastructure you cannot inspect.

The tools on this site process files in the browser, so nothing is transmitted. Whatever tool you use, it is worth confirming that before you upload a signature anywhere.

Do it here instead

These run in your browser on any device, so nothing is uploaded and there is nothing to install.

  • Resize image

    By pixels or percentage, aspect ratio locked, across a whole batch.

    Open the tool

Questions

Frequently asked questions

Every answer below is present in the page source, expanded, so it can be read without opening anything.

Why is my signature blurry or grey after compressing?

Because it is line art in a lossy format. JPEG puts ringing around every hard edge, and at the very low quality needed to reach 10–20 KB that becomes a visible grey haze. Try PNG output — a cropped black-on-white signature is often under 20 KB losslessly and perfectly sharp.

Can I use PNG for the signature?

Only if the portal accepts it — many specify JPEG only, and the file's contents are checked rather than its name. Where PNG is allowed it is almost always the better choice for a signature.

The form wants 20KB to 50KB. What should I target?

Around 45 KB. Target-size mode finds the highest quality that fits under your number, so the result sits just below it, comfortably inside the range without touching either boundary.

Why does the portal reject a file that looks the right size?

Usually the pixel dimensions rather than the file size, which many portals check first. It can also be the format, or the kilobyte ambiguity — a file you measure at 49 KB may be read as just over 50. Check the dimensions and aim a few per cent lower.

Should the photo and signature be compressed the same way?

No. They almost always have different dimensions and different size limits, and the signature usually benefits from a different format. Treat them as two separate jobs.

Is it safe to upload my signature to an online compressor?

Not to one that uploads. A photograph of your signature is worth protecting, and most online tools send your file to a server. The tools here run entirely in your browser, so the file is never transmitted — you can verify that by disconnecting from the network after the page loads.

From the blog

Related reading

More background from the blog.

  • Image Compression

    JPEG Quality Settings Explained: What the Number Actually Means

    Quality 80 is not 80% of anything. It is an index into a quantisation table. Measured on one photograph: dropping from 100 to 90 removes 77% of the file and 4.2 dB of fidelity; dropping from 40 to 30 removes 17% and costs almost as much.

    8 min read

  • Image Formats

    PNG vs JPEG: When to Use Each, With the File Sizes to Prove It

    PNG stored the same photograph in 1274.1 KB where JPEG needed 67.5 KB — nineteen times larger. On a flat graphic PNG won. On a smooth gradient PNG lost to JPEG by a factor of two, which surprises most people.

    9 min read

  • Practical Guides

    How to Strip EXIF Data From Photos, and What Breaks When You Do

    A photograph from a phone can carry the coordinates of the place it was taken, the camera serial number and the exact timestamp. Removing that data is straightforward. Removing it carelessly rotates your photos sideways.

    9 min read