Two limits, two different measurements

Pixel dimensions describe the image grid: for example, 600 × 600 pixels. File size describes how many bytes the encoded image occupies. A destination may limit one, the other, or both. Reducing a JPEG quality setting can change bytes without changing dimensions; resizing changes the grid itself.

Two photographs with identical dimensions can have very different file sizes. Smooth backgrounds compress differently from foliage, grain, fine hair or dense text. There is no reliable rule that every 600 × 600 image will fit a particular byte budget.

Pick an output format that fits the content

JPEG is commonly useful for photographs, but it does not preserve transparency. PNG can be useful for flat graphics, sharp line art or transparent signatures. WebP supports different encoding modes and transparency, but the destination must accept it. The smallest format is not helpful if the upload form rejects it.

Do not convert a transparent signature to JPEG without checking the required background. Do not assume an “automatic” format choice satisfies a portal that explicitly asks for JPG. Set that requirement before processing, then verify the downloaded extension and the reported MIME type.

A practical order of operations

Start from the best available original. Repeatedly saving an already compressed JPEG can compound artifacts and makes comparisons harder. Keep the original beside your output until the recipient accepts it.

  • Write down the accepted format, byte ceiling and required pixel range.
  • Try compression at the required dimensions first.
  • If the target is infeasible and resizing is permitted, reduce dimensions within the accepted range.
  • Inspect the result at a useful zoom: faces, small letters, line edges and signatures matter more than a single size number.

When not to keep shrinking

A tiny byte budget and a large minimum resolution may be incompatible for a detailed image. A tool should report that limitation rather than silently remove content or promise quality it cannot preserve. If the destination permits no further changes, ask for another submission method.

SizeMyFile uses browser-first processing for supported images and validates the allowed technical constraints. Its comparison and advisory quality measurements can help you inspect the result. They do not certify that a face is suitable for an ID document, that a signature is legally valid, or that all text is readable. Use current official instructions for regulated submissions.