ToolBexa.
Image guides

JPG, PNG or WebP? Image format, dimensions and file size explained

Choose a suitable image format and understand why pixel dimensions and KB limits need separate checks.

By ToolBexa Editorial · Published 18 Oct 2026 · 3 min read

Three requirements that are easy to confuse

An image can have the correct pixel width and still exceed a file-size limit. It can also be small enough in bytes but have the wrong shape or format. Before editing, write down the destination's requirements for pixel dimensions, accepted format and maximum bytes.

A 600 by 600 image contains a square pixel grid. “100 KB” describes how much data the saved file uses. The relationship depends on the format, compression settings and picture content, so one value does not determine the other.

Choose a format for the destination

JPEG is commonly used for photographs and is broadly accepted by upload forms. Its compression can introduce artifacts, and it does not preserve transparent pixels. PNG supports transparency and is often useful for clean graphics or cutouts. WebP supports modern web-image workflows, but a receiving form must accept it.

Use Convert Image when compatibility is the main issue. Converting a file does not guarantee that it will be smaller. Compare the actual export instead of assuming that a different extension is an improvement.

Resize and crop do different jobs

Resize Image changes pixel dimensions. Keep the aspect ratio locked when you want the original proportions. Enlarging a small source does not recover missing detail.

Crop Image removes content outside a chosen region. Choose a crop inside the source bounds, then inspect the subject and margins. Crop first when the shape is wrong; resize afterward when exact dimensions are required.

Compress while checking the details

Compress Image lets you adjust quality and compare the result. Use a moderate setting first. Inspect faces, text, lines and gradients, then lower quality only if you still need a smaller file.

A simple graphic can already be compact as PNG. A JPEG conversion may be larger or less suitable. ToolBexa keeps the original when its compression attempt would create a larger file. No fixed savings percentage applies to every picture.

Prepare a photo for an official upload

Use the receiving organization's current rules. A generic passport-style preset is a formatting aid, not an official approval. Check the face crop, background, allowed editing, dimensions and file size. Avoid filters or background changes when the authority prohibits them.

Keep a copy before editing. Inspect the downloaded file in another viewer and check its properties. If the destination rejects it, read the actual error message rather than repeatedly compressing without knowing which requirement failed.

Make website images useful to readers

For a website, use a sensible display size and descriptive alternative text where the image conveys information. Decorative images have different accessibility needs from instructional screenshots. Image optimization should improve usability while preserving the information a visitor needs.

Sources & further reading

Try the related tools