Re: [Tracker] Specifying thumbnailers as a service
- From: Philip Van Hoof <spam pvanhoof be>
- To: Bastien Nocera <hadess hadess net>
- Cc: xdg lists freedesktop org, nautilus-list gnome org, jens gnome org, olivier lx student wau nl, Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] Specifying thumbnailers as a service
- Date: Fri, 29 Aug 2008 13:59:22 +0200
On Fri, 2008-08-29 at 11:03 +0100, Bastien Nocera wrote:
On Fri, 2008-08-29 at 11:25 +0200, Philip Van Hoof wrote:
<arg type="i" name="size_x" direction="in" />
<arg type="i" name="size_y" direction="in" />
In the libgnomeui API, you only set one of those, and aspect ratio is
preserved. The size passed is the maximum width and height.
Or we make it even more simply and have "normal", "big", "small" only.
The client receives paths, not pixbufs. So the client is going to be
responsible for resizing anyway.
Else the thumbnailer would have to make subdirectories in .thumbnails
for all sizes ever requested. Instead of giving a near match and letting
the consumer of the thumbnail do a resize.
I don't know, what is the experience of other thumbnailers on this
issue?
I'm not sure if we by definition have to support exact pixel sizes. Just
normal, big, small (and maybe allow huge and tiny too).
Less is more ;-) - not sure if it's applicable here -
--
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://pvanhoof.be/blog
http://codeminded.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]