Photo

Compress a JPEG to 100 KB and Keep Small Text Legible

Compare resampling with JPEG quality changes, diagnose color fringes on letters, and check the exact byte count against a portal limit.

An application portal rejects a photograph of a certificate above 100 KB. A smaller copy goes through, but the clerk cannot read the final digit of its serial number. There are two separate requirements here. You need a saved file under the portal’s byte limit and enough detail for a person to read that digit. Keep the original open and choose two small features to check before making a trial export. A loop in an eight and a faint decimal point make better targets than the large heading.

Turn the portal’s limit into bytes

Check whether the instructions give an exact number. A decimal 100 kB is 100,000 bytes. A limit of 100 KiB is 102,400 bytes. The compressor’s KB control uses 1,024 bytes per unit. A file can fit the displayed target and exceed a decimal limit. Use the file properties for the downloaded JPEG and read the byte count. Some systems also show disk space occupied by the file, rounded up to an allocation block. That number describes storage allocation and is irrelevant to an upload limit.

Portal accepts up to           100,000 bytes
Tool target of 100 KB         102,400 bytes
Tool target of  97 KB          99,328 bytes
Example saved file             98,500 bytes → within the decimal limit

A 97 KB target gives a little room below the decimal ceiling when the tool reports that it reached its target. It cannot force every source under that ceiling. If the result says that only a closest match was possible, inspect the actual size. Check dimensions and allowed file types in the same portal instructions. A valid JPEG with an acceptable byte count can still be rejected for having fewer than the minimum required pixels.

Spend pixels on the document

Proportional image rectangles compare 2400 by 1600 with 1200 by 800 alongside the effect of JPEG quality.
Reducing each dimension by half leaves 25% of the pixels. Changing quality can keep the pixel grid and still damage edges.

Imagine a 2400 by 1600 photo with a small page on a large desk. A proportional reduction to 1200 by 800 leaves one quarter as many pixels. A digit that started out eight pixels high now has only four. Even an ideal JPEG encoder cannot restore the strokes removed by that resampling. If the receiving organization permits a crop, trim the desk in the original editor first. Leave any edges the portal requires for verification. The on-device compressor controls the longest side and preserves aspect ratio.

Start with the original dimensions when the important letters are already small. Let the encoder try quality settings at that size. If it cannot meet the target, the tool also tries smaller dimensions. Record the pixel dimensions it actually offers for download. A lower quality setting can introduce block edges and ringing around letters. A lower pixel count can merge neighboring strokes into one. Those defects look different at one image pixel per screen pixel, even when both exports show the same rounded size.

Check the saved copyLikely source of damageChange for the next trial
Halos beside dark typeJPEG quantization at strong compressionRemove irrelevant surrounding detail or permit more bytes.
Decimal point vanishes completelyToo few pixels after resizingPreserve more of the original page resolution.
Colored lettering bleeds sidewaysColor detail sampled more coarselyUse high luminance contrast or submit PNG if allowed.

Understand the red text on a gray background

JPEG commonly separates brightness from color differences. Many encoders store fewer color samples than brightness samples. In a common 4:2:0 arrangement, a two by two block of brightness samples shares one sample of each color-difference component. A thin red or blue line can smear into the background even when a black line beside it looks sharp. Browser JPEG quality values do not give a portable choice of chroma subsampling. Nor does a quality value of 90 mean that the encoder preserved ninety percent of the original information.

For a form under your control, use dark lettering on a light background and export it directly from the source when possible. For a screenshot, retain its PNG master. If the recipient accepts a vector document or lossless PNG, those formats can preserve small flat-color type without JPEG artifacts. If JPEG is mandatory, use the same original for each trial. Reopening a small JPEG and saving it again compounds rounding damage, even when the second export is larger.

Check the background before joining pages

JPEG has no alpha channel. This compressor paints a white background before drawing the input. Transparent corners of a PNG become white in the result, and white lettering designed for a dark website can disappear entirely. Place a copy of the original over white to predict what will happen. Choose a suitable opaque background in the source editor if the design depends on transparency. The SVG converter can rasterize artwork at a chosen resolution before compression. Inspect fine lines in that first raster because enlarging a later JPEG cannot recover them.

Use image stitching when the destination asks for one image and the evidence spans multiple screenshots. Assemble from original captures. Check the seam for a duplicated transaction row or a missing line. A tall strip may get reduced dramatically to fit the longest-side limit, making every label smaller. If the portal permits separate attachments, compare the legibility of individual pages before submitting a long strip.

Make the acceptance decision on the downloaded file

Open the saved JPEG independently. Read the chosen characters without referring to the master, then compare your transcription. Inspect the full page for missing borders or washed-out signatures. Confirm the actual file type, byte count and pixel dimensions from the saved copy, and submit that same copy. If every compliant trial makes the identifier ambiguous, obtain a closer capture or ask which alternative format is accepted. An upload receipt establishes that the server accepted the bytes. It tells you nothing about whether a reviewer can read the certificate.

References & further reading

Tools for this guide