Posts: 2
Threads: 1
Joined: Dec 2023
Reputation:
0
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 3.0
Hello, I need help, try to edit some jpg file, and I used overwrite from file and it overwrited the previous jpg file, not the original one, and now I have 2 as same file, how do I recover the lost jpg that was overwrited by second one? Thanks
Posts: 343
Threads: 39
Joined: Mar 2018
Reputation:
26
Operating system(s):
Gimp will only 'overwrite' when you tell it to. Gimp opens files as layers and will save as an xcf file but the only way it can 'overwrite' is if you export your work to the same file name as the jpg you say you lost. You are also asked if this is what you want to do.
Check on the file manage for the file and if it;s windows there is software to recover lost files.
Posts: 6,407
Threads: 279
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
Sorry, can't reproduce this. If I open Image1, the file menu says Overwrite Image1 and this indeed updates Image1 on disk. If I export to another name (for instance Image2), then the Overwrite entry in the menu disappears and the menu now says Export to Image2, and in the internal image data (gimp.image_list()[0].filename in the python console), the filename is indeed Image2.
As they say, extraordinary claims require extraordinary proof, so can you reproduce this on a test image?
Posts: 565
Threads: 40
Joined: Oct 2016
Reputation:
42
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 2.10
So this doesn't happen to you in future. when you open a file save/export it as another file (maybe with original in the name) before you do anything. Then close it. Open the same file that doesn't say original and you can overwrite it then without losing your original.
Posts: 1,538
Threads: 71
Joined: May 2021
Reputation:
167
Operating system(s):
Gimp version: 2.10
In other word, Overwrite = Replace
Save As... and Export As... is also for you to change the name if you want a copy, if GIMP found the same name, it will ask you if you want to overwrite, if you accept to overwrite, it will overwrite => replace the existing file.
Thus there will be no more previous version, it's gone > replaced by the newer version
Patrice
Posts: 166
Threads: 16
Joined: Sep 2021
Reputation:
7
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 2.10
There's an Export To and an Export As. If you choose Export To it overwrites without asking.