Re: [PATCH] Use GdkPixbufLoader for thumbnailer to reduce memory consumption
- From: Alexander Larsson <alexl redhat com>
- To: Christian Neumair <chris gnome-de org>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] Use GdkPixbufLoader for thumbnailer to reduce memory consumption
- Date: Thu, 11 May 2006 16:50:41 +0200
On Sun, 2006-04-30 at 13:13 +0200, Christian Neumair wrote:
> > The framing logic isn't the same as before. There are certain images
> > that get a frame now that didn't before and vice versa. Totem thumbnails
> > at low zoom levels didn't get one before but do now. Some images in
> > ~/backgrounds don't get a frame anymore at low zoom now, but did before.
> > I think the size comparison in
> >
> > > +if ((is_thumbnail || size > NAUTILUS_ICON_SIZE_THUMBNAIL) && !
> > > gdk_pixbuf_get_has_alpha (pixbuf)) {
> >
> > doesn't do the same as it did before because the pixmap has already been
> > scaled at that point now.
>
> To be honest I don't understand why we're adding frames to pixbufs that
> don't come from ~/.thumbnails at all.
Why should how we implement thumbnailing of image files affect how they
are shown? That is just an implementation detail. The difference between
thumbnail-as-itself and real thumbnail very non-obvious to users.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a one-legged hunchbacked rock star from a doomed world. She's a
chain-smoking wisecracking mermaid with an incredible destiny. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]