-3

I've got a bunch of files where I'm getting this error. Also:

Not a valid TIF 
Not a valid PNG 
etc...

These files may have been saved directly from a camera (Panasonic ZS-1) or edited at one point in either Photoshop CS5 or Paint Shop Pro 5. At any given point, they were valid files which opened fine using one of those applications, and all of a sudden they appear to be corrupted and no longer open.

Is there any way to fix these files?

6
  • How are we expected to be able to fix this without access to the files? Commented Dec 13, 2016 at 0:00
  • Well, this is a graphics stack, so I thought maybe graphics professionals had seen this error often and there might be some general trick or tidbit of info used. Commented Dec 13, 2016 at 13:49
  • You could utilize a scripting option like ImageMagick to save the file into another format or the same format to possibly clear whatever the issue is.
    – user9447
    Commented Dec 22, 2016 at 16:16
  • Also, have you looked at the image metadata? Some scripting engines will allow you to parse the metadata. If this is wrong that could be what is throwing the error.
    – user9447
    Commented Dec 22, 2016 at 16:16
  • Furthermore, you do not disclose how the images were created. If you created the images in another format and just changed the file type that would throw an error in some applications.
    – user9447
    Commented Dec 22, 2016 at 16:17

1 Answer 1

1

Often such files may open in other applications.

For example, a JPG may error with Photoshop here.... but opens fine in GraphicsConverter... so it just need to be opened and re-saved from the other application.

Barring that.. the file is hosed... you can't generally "fix" the file.

1
  • The only "fix" I ever saw was opening them in IrfanView where the software showed me the error and offered to fix it.
    – KMSTR
    Commented Dec 13, 2016 at 6:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.