Image Size Guide: Pixels, KB, Formats and Quality
Prepare an image by separating pixel dimensions from stored file size. First choose the required shape and dimensions, then a compatible format and compression level. Check the saved file's bytes, transparency and readability. A target in KB alone does not tell you whether a photo will pass an upload form, because forms also check dimensions and format. This guide is the hub for our image tools: Resize Image, Compress Image, Convert Image Format, Image Size Converter, Rotate Image and Flip Image.
Images fail uploads for four reasons: wrong pixels, wrong bytes, wrong format or wrong orientation. Each has its own fix, and doing them in a sensible order avoids repeated saves that degrade quality. Below is the workflow we recommend, with links to the detailed articles.
Read dimensions, format and size rules
Write down every rule the destination states: width and height in pixels, maximum and minimum file size in KB, allowed formats, background colour and orientation. Treat them as separate checks. Typical example: "JPG, 200 × 230 pixels, 20 to 50 KB". Meeting one rule does not meet the others.
Understand pixels versus KB
Pixels are the dots across and down. Kilobytes are the storage the file takes. They are related, since more pixels usually mean more bytes, but they are not the same. Format and compression change bytes without changing pixels. Print size adds a third idea: pixels per inch. The article pixels versus KB versus print size explains the relationship with examples.
Resize without distortion
With Resize Image, type the new width and let the height follow so proportions are kept. If the target has a different shape, crop first, then resize. Shrinking is safe. Enlarging cannot add detail. Resize before compressing, since fewer pixels give a bigger saving than extra compression.
Choose JPG, PNG or WebP
| Format | Best for | Transparency |
|---|---|---|
| JPG | Photographs, forms | No |
| PNG | Logos, screenshots, graphics | Yes |
| WebP | Web images | Yes |
Convert with the general tool or the dedicated pages: JPG to PNG, PNG to JPG, WebP to JPG, WebP to PNG, JPG to WebP and PNG to WebP. Read JPG to PNG, PNG to JPG and WebP for what changes in each case. Renaming a file's extension does not convert it.
Compress toward the maximum size
Compress Image re-saves a photo as a JPEG at Light, Balanced or High compression. For a specific limit, Image Size Converter steps quality down until the file is at or under your target and tells you whether it got there. If it cannot, reduce pixels and run it again. Details are in how to compress an image without ruining it and how to reduce image size to 50 KB, 100 KB or 200 KB.
Fix rejected uploads
| Message | Likely cause | Fix |
|---|---|---|
| File too large | Too many pixels or too much quality | Resize, then compress |
| Wrong dimensions | Different shape or size | Crop, then resize exactly |
| Wrong format | Renamed extension or WebP | Convert properly |
| Image sideways | Orientation flag | Rotate Image; see rotating an image |
| Image looks reversed | Mirrored selfie | Flip Image; see flipping an image |
| Too small | Over-compressed | Use a higher target or lighter quality |
Review image metadata and clarity
The iLikePDF image tools redraw the image on a canvas, so camera and location metadata are not carried into the output. That can help privacy. But it also means details such as capture date are lost. Check that the final image is clear: zoom to 100%, look at faces and text, and confirm the file size and dimensions in your file manager. Keep the original, and name the final file for the task.
A repeatable image preparation routine
Use the same order every time and you will rarely need more than one attempt.
- Write the rules from the destination: pixels, KB range, format, background, orientation.
- Fix orientation with Rotate Image or Flip Image if needed.
- Crop to the right shape in a photo editor. Resizing cannot change the shape without distortion.
- Resize to the exact width and height.
- Convert to the required format if it differs. For photographs, JPG is the usual answer.
- Compress with Compress Image, or use Image Size Converter to aim for a maximum in KB.
- Check the file in your file manager: size, dimensions and extension. Open it and look at faces and text at 100% zoom.
- Upload, and keep the original and the final file in a folder named for the task.
Which article to read next
| If your problem is | Read |
|---|---|
| A photo needs exact dimensions | Pixels vs KB vs print size |
| A file must be under a KB limit | Reducing image size to 50 KB, 100 KB or 200 KB |
| A format is rejected or a background turns white | JPG to PNG, PNG to JPG and WebP |
| An image looks rough after saving | Compressing without ruining an image |
| The photo is sideways | Rotating an image |
| The photo is mirrored | Flipping or mirroring an image |
Common patterns for forms and portals
Government, exam and job portals tend to repeat the same demands. Passport-style photos usually have a fixed pixel size, a plain background and a file limit between about 20 and 100 KB. Signatures are often small, wide images with a tight limit. Identity scans may be allowed as larger JPG or PDF files. Because rules differ between sites and change over time, always read the current instructions on the page you are using instead of relying on numbers from memory or from another applicant's post.
When you find a combination that works, save the final file and a short note of the steps. The next time the same portal asks for a photo, you can repeat the process in a few minutes. If a portal repeatedly rejects a file that meets every stated rule, try a different browser, make sure the extension is lower-case and check that the file name has no spaces or special characters.
Privacy and clean-up
Images of yourself and your documents are personal data. The iLikePDF image tools process files in your browser, and their code makes no upload request, but the results are saved on your device. Delete working copies from shared computers, and avoid leaving copies in synced folders or chat backups. If you share an image publicly, remember that metadata can reveal where and when a photo was taken; the tools here do not carry that metadata into the output, but other software might.
Frequently asked questions
Record format, maximum or minimum bytes, pixel dimensions and any content rules. Treat these as separate checks rather than assuming one size number covers everything.
Pixels describe the image grid; bytes describe the stored data. Images with identical dimensions can have different sizes because their detail and encoding differ.
Resizing scales the image; cropping removes outer content. Crop when you need a different shape without stretching faces, objects or lettering.
Preserve it when the source shape should stay natural. If the destination requires a different proportion, crop deliberately instead of independently forcing width and height.
The original contains limited detail. Standard interpolation fills in pixels but cannot recover information never captured by the source.
JPG often suits photographs, while PNG supports lossless storage and transparency. Choose based on the image’s content and the receiving application’s accepted formats.
It can provide compact web images and support transparency. Confirm that the website, editor or upload form accepts it before converting.
Avoid excessive downscaling and strong lossy compression. Compare the exported image at its actual display size and inspect fine strokes.
Usually meet the required pixel dimensions first, then compress the resulting image. Recheck both properties after export because some tools may change them together.
The file may fail format, byte-size, dimension or content checks. Verify its actual properties instead of judging only by its on-screen appearance.
Not across all images. Optimize toward the accepted maximum with a small margin, and prioritize clarity and correct dimensions over an exact byte count.
Choose an appropriate background before export if the workflow supports it. JPEG cannot retain transparent areas.
Rotation turns an image around its center; mirroring reverses one axis. Check text and directional details to choose the correct operation.
Not always. Metadata handling depends on the implementation. Verify removal separately when sharing a photo’s location would be inappropriate.
Check dimensions, bytes, format, aspect ratio, orientation, transparency and text clarity. Open the file in its destination application when practical before submitting it.