Media & Design10 min read•October 21, 2026

How to Resize Photos, Signatures and PDFs to Meet Online Application Form Limits

Pixels, DPI and KB are different limits. How to hit any upload spec for photos, signatures and PDFs without stretching faces or degrading quality.

S
Developer and maintainer of SmartToolPack
Last Updated: October 21, 2026
Examples are illustrative and use stated assumptions. Rates, rules and requirements change, so check the current official source before making financial or legal decisions.

Why uploads get rejected

Exam, job, visa and government portals usually ask for a photograph, a signature and scanned documents, each with its own rules, and the rejection messages ('file size exceeds limit', 'invalid dimensions') rarely help. The rules are simple once you see that a typical specification bundles up to four separate constraints.

  • File format, for example JPG/JPEG only, or PDF only.
  • File size in KB, often with both a minimum and a maximum.
  • Pixel dimensions, either exact or a range, or a physical size such as 3.5 cm x 4.5 cm.
  • Content rules: background colour, how much of the frame the face fills, ink colour for signatures, and so on.

Always work from the official notification

Upload requirements differ between organisations and often change from one recruitment cycle or application year to the next. I am deliberately not listing the requirements of any specific exam or agency here, because a number that was correct last year can get your application rejected this year. Read the current official notification or the instructions page on the portal itself, write down each of the four constraints above, and then use the method below to hit them. The method works for any spec.

Pixels, DPI and kilobytes are three different things

Pixel dimensions are the width and height of the image grid, such as 413 x 531. This is what a portal checks when it asks for dimensions in pixels.

DPI (dots per inch) is a number stored in the file that says how large the image should print. It does not change the pixels and has almost no effect on file size. A 413 x 531 image tagged at 72 DPI and the same image tagged at 300 DPI contain identical pixel data. DPI only matters when a form specifies a physical size, because physical size x DPI = pixels.

File size in KB is how many bytes the encoded file takes on disk. It depends on the pixel count, the format, the compression quality and the content of the picture. A plain background compresses far better than a busy one, so two photos with identical dimensions and quality settings can differ in size by a wide margin.

When a form gives a physical size, convert it to pixels with pixels = (cm / 2.54) x DPI. If no DPI is given, 200 or 300 are common assumptions, but check the notification.

Physical sizeAt 200 DPIAt 300 DPI
3.5 cm x 4.5 cmabout 276 x 354 pxabout 413 x 531 px
5 cm x 5 cmabout 394 x 394 pxabout 591 x 591 px
2 cm x 2 cmabout 157 x 157 pxabout 236 x 236 px
A4 page (21 x 29.7 cm)1654 x 2339 px2480 x 3508 px

The kilobyte trap: 1000 or 1024?

Some systems count 1 KB as 1,000 bytes and others as 1,024. A '50 KB' limit could mean 50,000 bytes or 51,200 bytes, and your computer's file manager may use a different convention from the portal's validation code. The safe target is a little under the lower interpretation: for a 50 KB maximum, aim for something under 50,000 bytes. For a minimum such as 20 KB, aim comfortably above 20,480 bytes. A margin of a few KB on both sides saves retries.

Work out your bits-per-pixel budget first

Before touching any slider, it helps to know how much room the encoder has. Divide the size limit in bits by the number of pixels: bits per pixel = (KB x 1000 x 8) / (width x height). The lower this number, the harder the compression has to work and the more visible the artefacts become.

A modern phone photo is around 12 megapixels. Squeezing that into 50 KB leaves about 0.03 bits per pixel, which no sensible quality setting will reach without destroying the image. That is why the order of operations matters: reduce the pixel count first, then tune compression. Uncompressed, a 12-megapixel image holds 36 million bytes of colour data (three bytes per pixel), so the step from camera to form is a reduction of hundreds of times, most of which must come from resizing.

TargetPixelsSize limitBits per pixel available
Phone photo, unchanged3000 x 4000 = 12,000,00050 KB0.03
Phone photo, unchanged3000 x 4000 = 12,000,000200 KB0.13
Passport-style photo413 x 531 = 219,30320 KB0.73
Passport-style photo413 x 531 = 219,30350 KB1.82
Passport-style photo413 x 531 = 219,303100 KB3.65
Signature strip350 x 150 = 52,50020 KB3.05

The order that avoids most problems

Most failed attempts come from doing the steps in the wrong order, such as compressing a full-size photo and then resizing it.

  • Start from the original, highest-quality file. Keep it untouched.
  • Crop to the required aspect ratio, framing the face or signature as the rules describe.
  • Resize to the exact pixel dimensions, with the aspect ratio locked so nothing stretches.
  • Export once in the required format, at a quality setting near the middle of the range.
  • Check the file size. If it is too large, lower the quality and export again from the cropped original, not from the file you just exported. If it is too small, raise the quality.
  • Open the result at 100% and check that the face and text are sharp before uploading.

Why re-saving a JPEG keeps making it worse

JPEG compression is lossy. Each time an image is decoded, edited and re-encoded, the encoder discards detail again, and the losses accumulate. Resaving a few times at a moderate quality can produce visible blockiness around hair and edges and colour smearing on the background. This is why step five above says to go back to the cropped original each time you try a new quality value. Ten exports from the same source at different settings is fine. Ten exports chained one after another is not.

The Image Resizer on this site works this way: you load the original once, set the width and height (with an aspect-ratio lock), pick JPEG, PNG or WebP and a quality level, and each download is encoded fresh from that original, so trying several quality settings does not stack the losses. The resizer does not show the output size, so check it in your file manager after downloading. The Image Format Converter does display the converted file size, which makes it convenient for fine-tuning quality on an image that is already the right dimensions.

Aspect ratio: the cause of stretched faces

If a form asks for 3.5 cm x 4.5 cm, the ratio is 7:9. A request for 200 x 230 pixels is a different shape (about 0.87 wide for every 1 high, against 0.78 for 7:9). Forcing an image from one shape into the other without cropping will squash or stretch the face, and some portals reject photos that look distorted.

When you know the ratio and one side, the other side follows from height = width x (ratio height / ratio width). For 7:9 at a width of 200 pixels, the height is about 257. At a height of 230 pixels, the width is about 179. The Aspect Ratio Scaler does this calculation for any ratio and width you enter. If a form gives exact pixel dimensions, crop your photo to that shape first and then resize, so the scaling is uniform.

The Image Cropper Studio handles the cropping step. You drag or resize a crop box over the photo, pick a preset ratio (1:1, 16:9 or 4:3) or a free shape, or type exact pixel values for the crop's position and size. For a 7:9 passport-style photo, use the free shape and type a width and height in that ratio, such as 700 x 900 pixels, then hand the crop to the Image Resizer to scale it down to the final size. The cropper saves at full resolution in the original format, encoding JPEGs at high quality, so that one extra save costs very little.

Choosing the format

For photographs, JPEG is the format almost every portal accepts, and it is the one to use unless told otherwise. PNG is lossless, which keeps text and line art crisp, but photographs saved as PNG are usually much larger than the same photo as JPEG. WebP is efficient but not every portal accepts it. Note that the Image Resizer defaults to WebP output, so switch it to JPEG when a form asks for JPG.

Renaming a file from .png or .webp to .jpg does not convert it. The bytes inside are still the old format, and a portal that inspects the file will reject it. Convert it properly instead. When converting an image with a transparent background to JPEG, which has no transparency, the transparent areas must become a solid colour. The Image Resizer fills them with white when you choose JPEG output, which is usually what a form wants.

Signatures

Sign on plain white paper with a dark pen, photograph or scan it in even light, and crop tightly around the signature with a small margin. A signature image is mostly white background, so it compresses very well, and the usual problem is the opposite of a photo: the file comes out below the minimum size. If that happens, increase the quality setting or use slightly larger pixel dimensions within the allowed range, rather than padding the image with extra empty space.

PDFs: what actually makes them large

A PDF made from scans is mostly a container of images, so the same rules apply. A page scanned at 300 DPI is roughly 2480 x 3508 pixels, about 8.7 million pixels per page. The same page at 150 DPI is 1240 x 1754 pixels, a quarter of the pixel count, and is usually perfectly legible for typed documents. Fonts embedded in text-based PDFs add some size too, but scanned images are almost always the main driver.

The PDF Converter Studio's image-to-PDF mode places each JPG or PNG on its own page, either fitted to an A4 or Letter page or on a page the size of the image. It keeps every pixel of the image: JPEGs are re-saved at a high quality setting and PNGs stay lossless. Fitting a photo to an A4 page changes how large it appears, not how many pixels are stored, so resize the images before converting. Because of the high-quality re-save, a heavily compressed JPEG can come out slightly larger inside the PDF, so leave some margin under the limit. The converter also applies the rotation flag that phones store in photos, so pictures of documents taken in portrait come out the right way up instead of sideways.

When a portal wants several documents as one file, the PDF Merge & Split tool combines PDFs in the order you set. The merged file is roughly the sum of its parts, so if each part is already within budget, the combined file will be predictable. Merge last, after each part is the right size.

Splitting solves the opposite problem: the portal wants one page, but your scan holds the whole set, or a file is over the limit because of pages nobody asked for. The split mode of the same tool extracts ranges written like 1-3,5,8-10 into separate PDFs, or saves every page as its own file. Dropping unneeded pages is often the quickest way under a size limit.

The PDF Margin Crop tool trims margins by adjusting each page's visible crop box, measured in points (72 points to the inch, so 30 points is about 10.6 mm). This is useful for tidying the borders of a scan. It hides the margin rather than deleting the pixels underneath, so it will not make the file smaller. To reduce size, reduce the resolution of the scanned images.

Quick troubleshooting table

ProblemLikely causeFix
File too largeToo many pixels or quality too highResize to the required dimensions first, then lower quality from the original
File too smallVery plain image or quality too lowRaise quality, or use larger dimensions within the allowed range
Invalid dimensionsWrong pixel size, or physical size converted at the wrong DPIRecalculate with (cm / 2.54) x DPI and resize exactly
Face looks stretchedResized to a different aspect ratio without croppingCrop to the target ratio first, then resize with the ratio locked
Invalid formatFile renamed rather than converted, or WebP outputExport or convert to a real JPEG or PDF
Blocky or smeared imageSaved repeatedly as JPEGStart again from the original and export once
PDF too largeHigh-resolution page images, or pages that are not neededDownscale page images before building the PDF, and split out only the pages required

Privacy when handling identity documents

Application documents often include ID cards, certificates and signatures, which you should not scatter across random upload services. The image and PDF tools linked here process files in your browser with the canvas API and the pdf-lib library, so the files are not uploaded to a server for processing. Whatever tool you use, clear downloaded copies you no longer need, and keep the untouched originals somewhere safe in case you need to start again.

Frequently asked questions

Does changing the DPI reduce the file size?

No. DPI is a print-size tag stored in the file. The file size depends on the pixel dimensions, format, quality and content. To reduce size, reduce pixels or lower the compression quality.

How do I convert centimetres to pixels for a photo upload?

Use pixels = (cm / 2.54) x DPI. At 300 DPI, 3.5 cm x 4.5 cm is about 413 x 531 pixels. If the notification does not state a DPI, check the portal's instructions before assuming one.

My signature file is below the minimum KB size. What should I do?

Raise the export quality, or use slightly larger pixel dimensions within the allowed range. Avoid adding large blank margins, which can make the signature too small when the portal scales it.

Can I just rename a PNG to JPG?

No. Renaming changes only the extension, not the data inside. Portals that check the actual file type will reject it. Convert the image to JPEG with a proper converter.

Why does cropping a PDF not make it smaller?

Cropping a PDF usually changes the page's visible area (the crop box) without removing the content outside it. To shrink a scanned PDF, lower the resolution and quality of the page images and rebuild the PDF.

Is a 50 KB limit 50,000 bytes or 51,200 bytes?

It depends on the system. Aim slightly below 50,000 bytes for a maximum and comfortably above 20,480 bytes for a 20 KB minimum, so the file passes under either convention.