thumbnail spec + .thumblocal additions/clarifications
sbrabec at suse.cz
Thu Feb 28 08:14:32 PST 2008
David Zeuthen wrote:
> Second, I'd like to patch the spec with some additions for .thumblocal
> support; here's a copy of the latest that the Wayback machine could give
I'd like to see more changes there:
Problem: Depending on the OS and medium details, thumbnail of external
media files may be drive # specific. (e. g. thumbnail
for /mnt/cdrom0/image.png != thumbnail for /mnt/cdrom0/image.png).
Proposal: Replace path relevant to changeable media by any type of UUID.
Problem: Symlinked files, files in symlinked directories and hardlinked
files are thumbnailed once per path, not once per file. (e. g. thumbnail
for ~/Desktop/myphoto_link/01.jpg != thumbnail for
- Use inode for systems that support it.
- Expand path to not contain symlinks.
- Use xargs note to refer to thumbnail for systems that support it.
Problem: Images in shared directories are thumbnailed once per user
- Use thumblocal if possible.
- Use system overlay in globally accessible directory.
- Use xargs and re-use thumbnail of another user.
Problem: Thumbnail of small jpeg images are typically larger in size and
slower to load than downloading and downscaling of original image.
Proposal: Allow jpeg thumbnails.
Problem: Many modern file formats include thmubnails (JPEG+EXIF, RAW
- Don't create thumbnail, reuse embedded thumbnail.
- Use xargs for note about thumbnail. If not possible, use
notes .thumblocal or .thumbnails.
Problem: Thumbnailing has to be implemented separately for each project.
- Exact description of thumbnails interface
- Reference thumbnailing implementation
Problem: Proposal is not rename/remove friendly. Each file rename keeps
- Each application must be aware of thumbnail handlinkg while rename or
All above mentioned problems in summary cause, that some images on the
disc may be thumbnailed many times, with many possible file names from
once after downloading, once after final rename
once for ~/Images path access, once for access through desktop symlink
once for nautilus, once for gqview (large size)
once for each user
Best Regards / S pozdravem,
SUSE LINUX, s. r. o. e-mail: sbrabec at suse.cz
Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
More information about the xdg