The first checks, in pictures
Start with these three checks. The pictures are simplified; the steps below explain the details.
Check the required format
HEIC and JPG are different encodings. Renaming does not convert.
See this step — Check the required formatMatch the shape and pixels
Crop proportionally. Do not stretch the face or subject.
See this step — Match the shape and pixelsCheck the saved size
Compress the delivery copy, then inspect the actual downloaded file.
See this step — Check the saved size
The website says your photo is invalid, even after you made it smaller. That often happens because three different requirements have been collapsed into one vague message: file format, pixel dimensions and file size. A 90 KB photo can still be too narrow. A perfectly sized HEIC file can still be rejected by a form that accepts only JPG. This guide turns the instructions into three separate checks and helps you prepare a delivery copy in a sensible order. It applies to ordinary uploads; official identity, visa or professional-image requirements may impose additional rules that you must follow exactly.
The first useful check
Write down the accepted format, required pixel dimensions or aspect ratio, and KB limit separately. Convert if necessary, crop proportionally, then compress a copy and verify the actual exported file.
Which situation sounds like yours?
HEIC rejected by a JPG-only form
Convert the encoding; do not just rename the file.
KB fits but dimensions fail
Return to the source and meet the pixel requirement.
Subject looks stretched
Crop to the right shape and resize proportionally.
All stated properties match
Check the portal's other requirements and exact error.
Step 01
Separate the three gates
Read the upload instructions and record the accepted formats, image width and height, and maximum file size. Note whether the pixel values are exact, minimum or maximum. A square image requirement is about shape; a 100 KB requirement is about encoded file size. Neither tells you the other. If the instructions mention background, age of photo or permitted editing, include those as separate requirements.
Copy the exact error message after a failed attempt. A generic 'invalid image' may not identify which gate failed. Check the file's properties locally and compare them with the requirement table. Do not keep lowering quality without knowing whether size is the failing condition. If the instructions are inconsistent, ask the receiving organisation rather than guessing which rule it will enforce.
Step 02
Keep the source and convert the format deliberately
Save a separate copy for the upload. If the source is HEIC and the form requires JPG, use a genuine conversion workflow; renaming the extension does not change the encoding. Apple documents exporting HEIF images to formats such as JPEG through supported applications. LoschaZ Image Compressor also includes a HEIC conversion path, with support depending on the file and browser capabilities.
Open the original in a compatible viewer first if you suspect it is damaged. A conversion error is not always proof that the format is unsupported; a partial transfer or unusual source can also matter. Retain the original so another attempt can begin from it. Changing the phone's camera setting affects future captures and does not automatically convert every existing photo in your library.
Step 03
Fix the shape without stretching the subject
If the destination requires a particular aspect ratio, crop the image to that shape while keeping the required subject and margins. Do not force an ordinary rectangle into a square by independently stretching width and height. Faces, products and document text can become visibly distorted. For regulated photographs, use the authority's composition rules and avoid changes it prohibits.
After cropping, resize proportionally to the required pixel dimensions if the source contains enough useful detail. Enlarging a tiny image cannot guarantee that it meets a quality requirement. If important detail is already blurred, a better source or a new photograph may be the sensible solution. The goal is a compliant, truthful image rather than a file whose numeric dimensions merely look correct.
Step 04
Compress after the content and dimensions are right
Once format and shape are settled, reduce the delivery copy to the stated size ceiling. The same pixel dimensions can produce very different file sizes depending on detail and compression. A plain background often encodes differently from foliage or fine fabric. This is why there is no universal quality percentage that makes every photo exactly 100 KB.
Use Image Compressor to target the relevant ceiling, then inspect the saved result. Keep enough detail for the intended use. If the image fits only after severe damage, revisit the source or ask whether the destination offers another route. Do not repeatedly recompress the last compressed export; return to the retained source for a cleaner comparison between settings.
Prepare a measured upload copy
Image Compressor can convert supported photos and target a size ceiling locally. Check the final format, dimensions and appearance before submitting.
Open Image CompressorStep 05
Check the downloaded file, not only the preview
Open the actual downloaded image and inspect its format, pixel dimensions and file size. A browser preview can look correct while the wrong export is selected later. Give the delivery copy a clear filename and keep it separate from earlier attempts. Check orientation too: a portrait image that rotates unexpectedly may fail a composition check even if its other properties are correct.
View the image at a useful scale. Look at edges, eyes or fine text that matter to the destination. Do not judge only from a small thumbnail, which can hide compression damage. If privacy matters, verify what metadata your chosen export retains or removes rather than assuming every converter behaves alike. LoschaZ Image Compressor creates new pixel-based output without the source camera-location metadata described in its privacy information.
Step 06
Retry the right slot and stop changing a compliant image
Select the checked filename in the upload form and inspect any displayed preview. Confirm that the form reports a completed upload. If it still rejects a file that matches its written rules, consider whether the session expired, the wrong slot was used or an additional requirement is stated elsewhere. Keep the exact error and properties for support.
Avoid making a series of increasingly damaged copies to solve what may be a portal problem. A concise support message can say that the file is the accepted format, has the stated dimensions and is below the size ceiling, then quote the error. Share the image only through the intended official channel. The three-gate checklist lets you explain the problem without sending a folder of uncertain variants.
An example you can follow
Under the KB limit, but the wrong dimensions
Illustrative example: Robin needs a square profile photo. The form requires at least 400 by 400 pixels and a size below its stated ceiling. A first attempt is small enough in KB but only 180 by 240 pixels. Further compression cannot repair that. Robin returns to the original, crops a square with the subject correctly framed, exports at the required dimensions and then adjusts file size. The final check covers all three gates. The useful insight is that 'smaller' is not a single instruction: fewer bytes and fewer pixels are different changes.
The three-gate upload check
Use the destination's exact values. A pass in one row does not imply a pass in the others.
| Gate | Requirement to copy | Final-file check |
|---|---|---|
| Format | Accepted encoding such as JPG | Actual exported format |
| Pixels / shape | Exact or minimum width, height and ratio | Saved dimensions and proportion |
| File size | Maximum KB or MB | Saved file's size |
| Content rules | Background, framing or editing restrictions | Visual comparison with the rules |
Questions you might still have
Are KB and pixels the same thing?
No. Pixels describe image dimensions; KB describes encoded file size. A form may check both independently.
Can I rename HEIC to JPG?
No. Use a conversion process that writes JPEG image data, then open the output.
Will enlarging a small image guarantee acceptance?
No. It can change pixel dimensions without restoring missing detail. Quality and composition requirements may still fail.
Sources & how this guide was made
Written by LoschaZ from the guidance below. The illustration is our own. Worked scenarios are labelled as illustrations; they are not customer stories or tests on every device. For product-specific steps, follow the current instructions for your device, account or item.



