Check if it is possible to rescue XCF files that have line endings forcibly converted, e.g. due to incorrect .gitattributes settings
Environment/Versions
- GIMP version: 2.10.22
- Package: .deb apt-get install
- Operating System: Ubuntu, Windows, MacOs
Description of the bug
I use Git to do storage, and Git's LF forced conversion rules make my .xcf
file corrupt. I hope there is a repair function to repair the file corruption problem.
Reproduction
Is the bug reproducible?
Reproduction steps:
- A computer: Edit and svae to
.xcf
- A computer:
git add .
- A computer:
git commit -m "Add photo"
- A computer:
git push
- B computer:
git pull
- B computer: open
.xcf
error
…
Expected result:
Actual result:
Additional information
Opening '/media/timmy/13f8a1b6-329b-4311-b784-daa9d47fa570/home/timmy/Git/NQU-ATCC-Establish-Project/社群網路/大頭貼.xcf' failed:
This XCF file is corrupt! I could not even salvage any partial image data from it.
Edited by Michael Schumacher