Re: Confused about nautilus thumbnails
- From: Nyall <nyall zombiepigs net>
- To: nautilus-list gnome org
- Subject: Re: Confused about nautilus thumbnails
- Date: Tue, 01 Apr 2008 14:17:34 +1100
I started trying to implement this and was making reasonable progress,
but hit a problem. What I've found is that
g_file_info_get_attribute_byte_string only returns files
in .thumbnails/normal when asked for G_FILE_ATTRIBUTE_THUMBNAIL_PATH
I'd need a similar attribute for G_FILE_ATTRIBUTE_LARGE_THUMBNAIL_PATH,
which would look in .thumbnails/large
So I'm not sure how to proceed from here - what's the correct procedure
for getting something like this implemented in gio?
For comparison purposes, here's some screenshots:
At 200% zoom, before:
http://crossbow.com.au/zombiepigs/before_200.png
After:
http://crossbow.com.au/zombiepigs/after_200.png
At 400% zoom, before:
http://crossbow.com.au/zombiepigs/before_400.png
After:
http://crossbow.com.au/zombiepigs/after_400.png
On Tue, 2008-04-01 at 00:37 +0400, Christian Kirbach wrote:
> On Mon, 31 Mar 2008 11:57:40 +0400, Alexander Larsson <alexl redhat com>
> wrote:
>
> > On Mon, 2008-03-31 at 12:21 +1100, Nyall wrote:
>
>
> >> - Else, if the nautilus icon size > 128, then create a 256 sized
> >> thumbnail, save it in the .thumbnails/large directory, and resize it up
> >> or down to fit the nautilus icon size.
>
> > We could add support for 256x256 thumbnails, but I don't know how useful
> > this would be, icons of that size are rather unusual.
>
> Unusual, that is true. But sizes matching 128x128 <= size <= 256x256 are
> more likely
> the smaller it gets, and that is where 256x256 thumbnails boost quality.
> I like the approach Nyall suggests. Which in turn does not mean that I am
> capable of implementing
> it :)
>
> Regards
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]