Skip to main content
Inspiring
December 17, 2017
Answered

unknown or invalid jpeg marker, yet every other program opens the file

  • December 17, 2017
  • 3 replies
  • 4656 views

The subject says it all.  I have several files that I sent to myself from a photo archive site and none of them will open in PS CC, always giving this reason.  But like I said, they all open in every other program, including gmail, Facebook, Microsoft Office, Windows Photos.  So far, only Photoshop doesn't like these files.  In fact here is one of the images, which I see opened just fine here in the Adobe Forum discussion. This looks like a bug to me. You?  If it is, how can I get it entered into the bug list for the next update? (Yes, that is me at the desk, back when I was in 5th grade.  Aren't I adorable?)

This topic has been closed for replies.
Correct answer D Fosse

Yes, this file has a double extension .jpg.png. It's a PNG and it opens just fine in Photoshop here.

I think you have this problem because you have Windows set to hide extensions (and thus .jpg becomes the effective extension). Change that policy in Folder Options, then fix the extension.

3 replies

jazzwilliam
Participating Frequently
December 29, 2017

Yes you need to change to change the file extensions. Go to the file explorer and Under the View tab, deselect the checkbox next to “Hide extensions for known file types” and then click OK.

You can also change the file extension to another file format. For instance, convert a JPEG (.jpeg or .jpg) file extension to a Bitmap file (.bmp)

If there is a file corruption issue then get repair tool, like Stellar Phoenix JPEG Repair.

D Fosse
D FosseCorrect answer
Community Expert
December 17, 2017

Yes, this file has a double extension .jpg.png. It's a PNG and it opens just fine in Photoshop here.

I think you have this problem because you have Windows set to hide extensions (and thus .jpg becomes the effective extension). Change that policy in Folder Options, then fix the extension.

bozitoAuthor
Inspiring
December 17, 2017

Yes, the correct answer was to change the extension to PNG and thank you!  But I DO have my file browser set to display extensions and it does not show the png.jpg extension that you indicated.  BTW, the file name that appears when I hover over the image in my email is JPG.  So the wrong extension was applied when I chose Share this image from the archive site.

So one questions remains.  Why is PS the only program out there that would not open the file when it had the .jpg extension?  Granted, it is not a JPG but EVERY OTHER program seems to figure it out. Bug or feature?

Thanks again for the replies.

D Fosse
Community Expert
December 17, 2017

Just shows the other programs are more sloppy.

That's not as flippant as it sounds. Photoshop is the industry standard in image processing, and it has to do everything strictly by the book, following all specifications to the letter.

Community Expert
December 17, 2017

Please change the extension of tha file from .jpg to .png

Community Expert
December 17, 2017

Et voilà!