5
I received a lot of pictures that I want to edit on Photoshop. When I attempt to open them in Photoshop,The following pops up:
"Could not complete your request because an unvalid SOS, DHT, DQT, or EQI JPEG marker is found before a JPEG SQ1 marker."
I found a solution which is to open the file in Microsoft Paint, and save them under the same name, which rewrites the file. Now Photoshop can open the file. This is a lot of work to do for every image.
How do I fix this? I can't believe that MS Paint can do it, but Photoshop can't.
Something strange there. Tried Import instead of Open? (if PS has that?) It may not, GIMP doesn't... Maybe it's a PS jpeg bug? – Xen2050 – 2014-12-14T19:03:57.497
I tried. The message is basically the same. – Nicky Smits – 2014-12-14T19:06:16.647
Those JPEGs are most likely corrupt. However, some programs are able to parse files even though they might be slightly corrupt. Looks like Microsoft Paint is one such program. – Vinayak – 2014-12-14T19:06:21.773
I found a similar question on Adobe forums. Are you sure the photos are JPEGs and not PSDs?
– Vinayak – 2014-12-14T19:12:36.580If they are corrupt. It seems weird that Paint can parse it and Photoshop can not. Isn't there a resolution for this?? – Nicky Smits – 2014-12-14T19:14:09.200
1
As I wrote earlier, some programs are still able to parse slightly corrupted media files. One solution that comes to mind is to use image processing software like Image Magick to batch convert all JPEGs to PNGs. That wouldn't result in loss of quality as PNG is lossless.
– Vinayak – 2014-12-14T19:21:54.357Converting JPG to PNG would certainly avoid the problem, but imposing it on every JPEG you come across is unworkable for certain environments. It would be best if we could detect the problem with some library. – Ross Presser – 2018-10-04T04:53:37.080