![]() Registered Member ![]()
|
Hello,
few days ago, I accidentally deleted one of my digital painting (in fact, it is a sync problem with a cloud provider, so the file was nor on my computer, nor in the trash bin, just deleted). I succeed to recover it (or a similar one) with Photorec, a great software. But when I try to open it, Krita-Lime crashes. So I can't be sure to have recover it. Maybe the file is corrupted. I had a look in the file (as .kra is a container), and all seems OK, but I am not an expert... Would someone could try to help me, by trying to open it and save it again, or to fix the file in an another way ? Here were you can download my "precious" : https://hubic.com/home/pub/?ruid=aHR0cH ... wMTM3MTk3# It would be marvelous because this file represents about 30 hours of work... ![]()
Last edited by Tepee on Fri May 02, 2014 12:16 pm, edited 1 time in total.
Comics, paintings and other creations at https://www.tepee.me
|
![]() KDE Developer ![]()
|
A krita file is zipfile -- if zip tools can open it, there's hope... I'll take a look.
|
![]() KDE Developer ![]()
|
Okay, looking with unzip, it's layer11 that is definitely broken...
A new kra file without that layer: http://www.valdyas.org/~boud/7-tepee-la ... AYER11.kra I'm afraid that that might have been the essential layer -- it was the biggest... And I cannot recover it ![]() |
![]() Registered Member ![]()
|
By the way, thank you boudewijn ! because I feel as if I had crashed a real painting with a car...
I just looked on your file, and yes, the broken layer was the big essential one... ![]() But it is already better than nothing as in last solution, I might try to use a low-def jpeg file I had made to insert it as new layer and rework on it... Are .kra files are "really" zip files ? Maybe I could try a Zip file recover ?
Comics, paintings and other creations at https://www.tepee.me
|
![]() Registered Member ![]()
|
After rename the .kra to .zip, with a windows recovery software, I succeed to extract the layer 11.
But after renaming the repaired zip in .kra, it still crashes... Here is the layer 11 : https://hubic.com/home/pub/?ruid=aHR0cH ... wMTk2Mzg5# Do you have any idea ?
Comics, paintings and other creations at https://www.tepee.me
|
![]() KDE Developer ![]()
|
With a bit of judicious patching it is, in fact, possible to make Krita not crash on the broken the file. However, in that case, only two smallish strips of image can be recovered.
Here's the patch, it can be applied to git master: http://paste.kde.org/pkx1l7xcj And here's the result: http://www.valdyas.org/~boud/7-tepee-la ... overed.kra The thing to do now is decide what is better for Krita: assert on loading a broken image, or load it anyway and give the user a message that it's broken. |
![]() KDE Developer ![]()
|
For now, we don't assert or crash anymore and give the user a message that the image cannot be loaded. To make it loadable anyway needs more work...
|
![]() Registered Member ![]()
|
Thank you very much for the file with the "only two smallish strips".
It has permit me to recover the paint of the girl in red. For the big overall painting, I will see to include behind the girl the picture I saved (in low definition ![]() By the way, it is much better than nothing ![]() About the ability to repair files for Krita, I think my problem was very particular. For me, I had never broken files in normal case... So it is maybe not very useful to spend time on it ? And about recovering erased files, I had been in contact with Christophe GRENIER who develop PhotoRec (http://www.cgsecurity.org/wiki/PhotoRec). And now, his software can recover .kra and .ora files ![]() In bad news there can be good news...
Comics, paintings and other creations at https://www.tepee.me
|
![]() Registered Member ![]()
|
*.ora and *.kra tool recovery ; That's really cool ! ![]() |
![]() KDE Developer ![]()
|
It's always good to make file handling as robust as possible! And a nice bit of news about Photorec, tweeted and g+'ed it. I had never before heard of this application!
|
![]() Registered Member ![]()
|
Yep, PhotoRec seems to be a usefull software.
So I close the subject.
Comics, paintings and other creations at https://www.tepee.me
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft