Posts: 11
Threads: 4
Joined: Oct 2016
Reputation:
2
Operating system(s):
Gimp version: 2.10
Good day to all,
After applying many scripts to an image, I get the following message upon Saving an .xcf file:
Could not seek in XCF file
I am using Partha's 2.8.14 version, Windows 10 Pro 64 bit, Ram 16G.
When the file is ready for saving, it occupies around 7 G in current memory.
What is my problem?
TIA,
Nicolas Beaudet
Posts: 7,132
Threads: 155
Joined: Oct 2016
Reputation:
1,003
Operating system(s):
Gimp version: 2.10
Welcome to gimp-forum.
That is a big image you are working on, but you do have plenty memory.
Maybe some more information required. Is that the regular Partha 2.8.14 or is it the portable version?
The message "Could not seek in XCF file" maybe scrambled in translation, could you post a screenshot or the original text.
Is this an existing .xcf image on disk that you are trying to over-write?
If it is, is it on a external or net-work drive?
Clutching at straws here when it comes to very large images.
Posts: 6,339
Threads: 272
Joined: Oct 2016
Reputation:
562
Operating system(s):
Gimp version: 2.10
Is there enough space on disk? Unless there is an alway possible bug, this message would indicate that the file on disk is shorter than what the code expects. How big is the XCF supposed to be?
Posts: 7,132
Threads: 155
Joined: Oct 2016
Reputation:
1,003
Operating system(s):
Gimp version: 2.10
10-16-2016, 05:47 PM
(This post was last modified: 10-16-2016, 05:50 PM by rich2005.)
This is just a guess:
From your reference, the error concerns a function xcf-seek and I did find one bug report on that subject. Looks like it was fixed.
This is the start of the change log for 2.8.16
Changes in GIMP 2.8.16:
Core: Seek much less when writing XCF
Core: Don't seek past the end of the file when writing XCF
Core: Fix velocity parameter on .GIH brushes
Core: Fix brokenness while transforming certain sets of linked layers
Could be either or both first two, could be the fourth if using layers.
Regardless, it would be worth upgrading from Gimp 2.8.14 to the latest.
Other than that,
Big file coming in from a Nikon perhaps.
What format does it start as? Using a plugin to import a RAW file?
Lots of filters used. Have you tried saving a .xcf version after each filter application until it breaks?
Simplify the save path and file name, maybe C:\temp\01.xcf until you get it sorted.
Posts: 11
Threads: 4
Joined: Oct 2016
Reputation:
2
Operating system(s):
Gimp version: 2.10
Good day to all!
I have solved the problem by doing the following:
My scripts were creating 20+ layers and channels from Selections applied to the original image. Starting from a Sony .arw file, processed in RawTherapee, then imported into GIMP.
I have cut down the number of layers created from the script. GIMP's memory for the file is now around 5G, file on disk is now around 2G, safely stored on the internal drive.
Ofnut's technical explanation for the fseek in the API reminded me of .dbf limitations for the number of records stored. Limitations solved later by the .mdb Access files. This is remembrance of my GIS programming days.
Rich2005 suggestion of graduating to 2.8.18 runs into another set of issues for me. I will start another thread about these issues.
Thank you all,
Nicolas