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 46070 - Eliminate thumbnailing size constraint by using a better algorithm
Eliminate thumbnailing size constraint by using a better algorithm
Status: RESOLVED FIXED
Product: libgnomeui
Classification: Deprecated
Component: general
unspecified
Other All
: Normal enhancement
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
: 47600 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-01-26 21:27 UTC by Andy Hertzfeld
Modified: 2007-01-06 20:08 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Andy Hertzfeld 2001-09-10 00:57:05 UTC
Our current thumbnailing algorithm reads an entire image into memory before
scaling it with gdk_pixbuf.  Since images can be quite large, loading them
entirely into memory can bring the system to its knees.  Therefore, we don't
attempt to thumbnail images that are bigger than a predetermined size threshold,
which is currently set to 1 megabyte.

This is less than ideal - users don't know about the threshold, and think
Nautilus is erratic.  We need a better thumbnailing algorithm that works
incrementally, only reading a small percentage of the image into memory at a
time.  Once we have this, we can remove the size constraint.

This functionality might be best done in gdk-pixbuf, so it can be integrated
with the different image type handlers.

This is clearly a post 1.0 task.



------- Additional Comments From andy@eazel.com 2001-03-08 22:06:19 ----

*** Bug 47600 has been marked as a duplicate of this bug. ***



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:57 -------
Comment 1 David Kennedy 2002-11-28 21:19:22 UTC
Moving to libgnomeui since that's where the thumbnailing code is.
Comment 2 Christian Neumair 2007-01-06 20:08:21 UTC
Should be fixed, cf. bug 345707.