After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 107246 - Wanted: Progressive load of image files
Wanted: Progressive load of image files
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal enhancement
: Future
Assigned To: GIMP Bugs
GIMP Bugs
: 317902 (view as bug list)
Depends on:
Blocks: 118191
 
 
Reported: 2003-02-28 10:51 UTC by Toralf Lund
Modified: 2018-05-24 10:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Toralf Lund 2003-02-28 10:51:37 UTC
Another note from the "big files" department:

What would *really* do wonders for the support of the images I'm working on
(multi-Gb TIFFs) is some kind of "progressive" image file load behaviour,
i.e. the ability to suppress the read of data blocks from file until it is
actually needed. This would mean transferring data from file to swap using
a similar algorithm to the one used today to copy data from swap to tile
cache. Actually, when viewing and anlysing files, but not changing their
data, the swap wouldn't even be necessary; the data could be read directly
from the file into the tile cache.

Of course, the total time taken to complete real image analysis and
transform operations might be unchanged by this, but I think I would be
able to work more efficiently because I wouldn't have to wait for several
minutes for the image window to open (when startining up in 1:1 zoom mode -
se bug 106960); I could have a quick glance at the data and start the
desired operation (and have the opportunity to verify that the correct file
was opened etc.) right away.

Also, implementing this kind of operation in a general way might be quite
hard, but it would be trivial for formats like tiled TIFF (which is also
what I'm mostly working on) where the data is already spit into smaller
sections. It would probably be a good idea to keep the impelementation of
the partial file read in the image format plugins, and have some kind of
interaction when the file is opened to decide if it is supported at all,
and for what block sizes.
Comment 1 Sven Neumann 2003-02-28 11:11:24 UTC
That would indeed be nice to have but it is definitely not-trivial to
implement. We haven't even implemented this with the XCF file-format
(which was designed to be used mmapped) and it would be tremendously
more difficult to do this for other (plug-in based) file formats.

Definitely not something for this development cycle but it should be
considered (and already has been) for the total redesign that is
likely to occur after the current development version is released.
Comment 2 Alan Horkan 2003-07-23 18:41:48 UTC
Changes at the request of Dave Neary on the developer mailing list.  
I am changing many of the bugzilla reports that have not specified a target
milestone to Future milestone.  Hope that is acceptable.  
Comment 3 Sven Neumann 2005-10-04 10:28:09 UTC
*** Bug 317902 has been marked as a duplicate of this bug. ***
Comment 4 GNOME Infrastructure Team 2018-05-24 10:49:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/36.