repairing corrupt psd files ?

Discussion in 'Photoshop Tutorials' started by frankg, Sep 27, 2005.

  1. frankg

    frankg Guest

    Windows XP

    Is there a utility to try and repair corrupted Photoshop files?
    I've had a major hard drive debacle, lost everything, and a tech managed to
    recover many files with a data recovery program (Easy Recovery Pro) but
    some of the files can now not be opened by PS - an error message pops up
    saying it isnt a PS document. The utility used to recover the files only has
    repair tools for MS Office type of documents not psd or tif
    frankg, Sep 27, 2005
    1. Advertisements

  2. Before bothering to find a repair tool, open the file in a hex editor,
    check to see that it isn't simply filled with zeros (No data remaining).

    Nicholas Sherlock
    Nicholas Sherlock, Sep 27, 2005
    1. Advertisements

  3. Friend had similar problem a few weeks ago... he was able to open most of
    the files Photoshop refused to open by using Irfanview then use "Save As"
    /\\BratMan/\\, Sep 27, 2005
  4. frankg

    edjh Guest

    Irfanview opens the preview saved with the document, if the document was
    saved with a preview. Layers and such will not be there. If that's okay,
    that's the way to go.
    edjh, Sep 27, 2005
  5. frankg

    frankg Guest


    I just installed and ran Irfanview but it cant open the files and there is
    no preview available (the preview box is checked) . I get an error message
    saying it cant read the file header. I then looked at the file with the Hex
    viewer in the File menu and it is full of "numbers" , they arent all zeros.
    The file size is 120 MB as it's a 16 bit file. Is there a fix ?
    frankg, Sep 27, 2005
  6. frankg

    Tacit Guest

    That does not really help, because a damaged file is more likely to be
    filled with garbage than with zeroes.
    Tacit, Sep 27, 2005
  7. frankg

    KatWoman Guest

    I had a Jaz drive go bad in the early days and though I was able to recover
    most of the files, all the ones I could not save were the PSD format ones.
    All the Tiffs were saved (flattened) all the jpgs were OK but not the PSD's.
    In some cases I was unable to open them from the CD copies but if I copied
    them to my comp first, I was then able to open them.
    Somehow the files sizes of the PSD's being larger or maybe the format is
    more sensitive to corruption, but I had no luck in recovering them.
    KatWoman, Sep 27, 2005
  8. frankg

    frankg Guest

    Is there a utility to try and repair corrupted Photoshop files?
    yes these are psd files too. And large too as they're 16bit (around 120mb).
    there must be a way.....anyone??????
    frankg, Sep 27, 2005
  9. frankg

    Mike Russell Guest

    From: "frankg" <>

    [re recovering damaged image files]
    If you know, or can make a good guess at, the width of the images, you may
    be able to open them as raw files. This is relatively easy for a simple
    image, but becomes increasingly more difficult as the number of layers
    Mike Russell, Sep 27, 2005
  10. frankg

    frankg Guest

    Sounds like a glimmer of hope - yes I can make a good guesstimate of the wxh
    size (5590 x 3789px). If I go to the Open As dialog and select RAW as the
    file type and then chose the psd file I get an error - saying it could not
    complete my request because of a program error. Is this what you were
    suggesting ?
    frankg, Sep 27, 2005
  11. frankg

    Donald Link Guest

    Dumb as a rock!
    Donald Link, Sep 27, 2005
  12. frankg

    Jimmy Guest

    Jimmy, Sep 27, 2005
  13. frankg

    frankg Guest

    frankg, Sep 27, 2005
  14. frankg

    Seawater Guest

    I have no idea whether this will work or not. My guess is that it will not.
    But it might stimulate some good ideas from others.

    It seems to me that there has to be a header of some sort, that tells
    Photoshop or any other program that this is a file it can open. And that
    when you get a can't open message it is because this header got messed up.
    So it might be worthwhile to try copying the first 500 or so bytes from a
    good image and paste in the first 500 on one that you have that is messed
    Seawater, Sep 27, 2005
  15. frankg

    frankg Guest

    I think you're onto something re the header as I said above - I installed
    and ran Irfanview (to try and Save As a psd) but it cant open the files and
    there is no preview available (the preview box is checked) . I get an error
    message saying it cant read the file header. However I think it's a long
    shot to copy/paste "the first 500 or so bytes". How would you do it anyway?

    frankg, Sep 28, 2005
  16. frankg

    toby Guest

    PSD is too sophisticated for anything this simple to work. See here for
    a program that is capable of recovering some kinds of corruption: (may
    not work with 16-bit layered files since Adobe has not published their
    toby, Sep 28, 2005
  17. frankg

    Hunt Guest

    Hunt, Sep 28, 2005
  18. frankg

    toby Guest

    There is a fixed size header of only 26 bytes only which encodes the
    following information in BigEndian integers:
    signature (4B) = '8BPS'
    version (2B) (typically = 1)
    reserved [6]
    channels (2B)
    rows (4B)
    cols (4B)
    depth (2B)
    mode (2B)

    In the unlikely event that: 1) those 26 bytes are damaged, and 2) you
    can restore them all to their correct values, and 3) the remainder of
    the file is undamaged, then you might have a chance. Otherwise, more
    sophisticated salvaging would be needed. Maybe the tools other people
    have cited go the extra mile.

    The remainder is a complex structure whose layout and contents differs
    for every file (see source code cited in other post for specifics). In
    addition, as mentioned, some elements are not publicly documented.
    toby, Sep 28, 2005
  19. frankg

    frankg Guest

    can you offer any directions or hand holding on how to work with those
    files - I have no idea. I'm willing to try anything as the files are
    currently lost to me anyhow
    frankg, Sep 28, 2005
  20. frankg

    toby Guest

    I suggest you pursue the above cited recovery programs (at least the
    trial versions of each) - I have a hunch they will vary wildly in
    quality; and you may perhaps send me, or make available for download,
    the smaller of your damaged files and I can see what can be figured out
    about the type of damage. Perhaps my PSD utility will be able to
    recover some layers.

    toby, Sep 28, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.