0

While retouching I saved my file as a tif and then flatten it and saved as a jpeg. I accidentally saved the tif again while it was flattened with no layers. Is there a way to recover my tif file with the layers?

  • 4
    If you are lucky, the application saved the file as a new file, then erased the old version and renamed the new. This leaves the previous version as an erased file on the disk, and it can be recovered using "unerase" utilities. But best ask in SuperUser, you'll get more informed answers. And since this is purely a computer problem, state operating system, disk type, etc.... when you ask the question. – xenoid Feb 12 at 20:26
  • Also, the filesystem might have allocated new space for the new copy and didn't yet reuse the sectors where the old version was. Slim chance though.... – rackandboneman Feb 12 at 20:44
  • @rachandboneman If it does save new/erase old/rename new this is implicit, since the old version is still on the disk when the new one is saved. – xenoid Feb 12 at 21:06
  • vtc b/c This is a question about file recovery, not photography per se. – xiota Feb 12 at 21:12
  • 1
    @Xiota Not if you do "Save", only of you do "Save as...", so in the case at hand it would not have helped (assuming a open XCF/edit/flatten/export to Jpeg/save sequence). – xenoid Feb 12 at 23:13
1

If you are still in the program, you might be able to undo.

If you have some kind of automatic backups or versioning filesystem installed, you might be able to recover from that.

Otherwise, sorry, no.

  • Can also search the Google machine for file recovery programs. – xiota Feb 12 at 21:13
  • @xiota Unlilkely if the file has been saved over. – mattdm Feb 12 at 22:27
  • Most programs in modern operating systems don't actually over write files when they "save over" files. – xiota Feb 12 at 22:32
  • Good odds if the filesystem is journalled. – Peter Taylor Feb 13 at 10:30
  • Bad odds that anyone who asks the question above knows what journalling is, must less has their file system journaled. – Michael C Feb 14 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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