GNOME Bugzilla – Bug 531059
Non-incremental loaders can't load from memory
Last modified: 2013-12-19 05:49:02 UTC
Currently, there's no way for a loader that doesn't support incremental loading (such as the icns loader, see bug 469913) to load from memory, or remote locations. gdk-pixbuf should be extended to have a load_stream() member, that would allow loading from GInputStreams (which could be from memory, or remote files).
May be we can rewrite file logic to use GIO - and usage GIO interface for file and incremental loading.
*** Bug 469913 has been marked as a duplicate of this bug. ***
Reporter of Bug 629474 posted a patch to add incremental loading for 'icns' files. Can a dev test it and apply it? (or describe why not?) Maybe the approach he used is general enough to apply to other non-incremental loaders too. Even if it's only for icns, it's better than nothing. It would also close Bug 469912 in eog. Also, can at least the status of these 3 bugs be updated? They are all confirmed, and possibly duplicates of this one
This affects not only loading from memory, streams, remote files, but also *local* files when (trying to) use new_from_file_at_size(). So I guess we're stuck not only with local files, but also with only plain new_from_file()
we can load from streams now