You have a PNG, but a form asks for JPG. Changing photo.png to photo.jpg looks like the quickest fix. It changes the name while leaving the image data untouched, so the form may still reject it.
The useful distinction is between renaming a file and exporting a new one. Microsoft explicitly explains that changing an extension does not convert the format. Microsoft's file-extension guidance
What our renamed file actually contained
SunloopMedia created a disposable 320×180 colour-gradient PNG on Windows 11 and copied its exact bytes into a file called renamed-only.jpg. Both files had the same SHA256 digest and were 95,817 bytes. The renamed copy still began with the PNG signature and FFprobe identified its image codec as PNG.
We then used the existing FFmpeg build to encode a separate JPEG. FFprobe identified that output as mjpeg, its name for this JPEG image codec. It retained the 320×180 dimensions, had different bytes, and decoded successfully. The original, renamed copy and converted output all passed the same decode check.
That is a narrow result: our decoder could read a misleadingly named PNG. It does not show that an upload service or another application will accept it. The JPEG's smaller size in this fixture is not a prediction for other pictures or a quality comparison.
The test used FFmpeg's command-line encoder and inspector, not a Paint export or a website upload. The full build identifier and file hashes are retained with the evidence. PNG's documented signature provides an independent way to recognise the original format. W3C PNG specification
Make a real converted copy
Keep the original. Open a copy in an image editor that supports the required destination format, then use its Save As or Export control to select JPEG explicitly. Exact controls vary between applications; typing .jpg into a filename box is not enough to establish which encoder the application uses.
Save under a distinguishable name, such as photo-for-upload.jpg, rather than overwriting your source. Reopen that saved file and check its dimensions and appearance. If the editor provides file information, inspect the reported format as well as the filename. Finally, try the intended destination: successful local opening alone does not prove that the destination's requirements are met.
If the upload still fails, check its stated format, file-size and dimension limits. Avoid repeatedly renaming the same file. An extension mismatch is only one possible cause of rejection.
A filename is a useful label, not a format guarantee
Show filename extensions when checking a Windows file so you can see the full name. An image called photo.jpg.png has not become JPEG because “jpg” appears in the middle of its name. Windows controls for showing extensions depend on the version; Microsoft's guidance explains the distinction.
Batch renaming deserves the same care. Our PowerRename guide concerns filename changes, including preserving extensions. It is a different task from changing image encoding.
For a broader handoff check, see what an app export preserves. Select the needed output, reopen it and confirm the properties that matter to the recipient.
What this test leaves open
We used one opaque RGB fixture. We did not compare transparency handling, animation, colour profiles, metadata preservation or visual quality across encoders. Check those properties separately if they matter to your image. The original remains your recovery copy.
Editorial record
Testing status: Partially tested
Tested 2026-11-09. Limits: One opaque RGB fixture; no Paint, upload-service, transparency or quality test.
SunloopMedia Editorial
Published by SunloopMedia Editorial. Sources, testing state and material corrections are recorded above.
Suggest a correctionSelect the link and copy it using your keyboard or device menu.
