From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org, brakjoller@gmail.com
Subject: Re: thumbs.el and transparency
Date: Mon, 06 Feb 2006 09:27:36 +0200 [thread overview]
Message-ID: <87u0bdc5g7.fsf@jurta.org> (raw)
In-Reply-To: <fc339e4a0602051622s1590ccfeh@mail.gmail.com> (Miles Bader's message of "Mon, 6 Feb 2006 09:22:58 +0900")
> I think both "dired style" and "photo album" style could be useful in
> difference circumstances, depending on what I want to do with the
> pics: if I'm re-arranging the files, deleting etc., dired would be
> useful; if I just want to look at pictures, a photo-album style layout
> [with slightly larger thumbnails] would be useful...
This is what I expect from a thumbnail package too. In dired style
I wish small thumbnails to be displayed in dired buffers, and in
photo-album style - larger thumbnails together with captions containing
image attributes like image dimension, size, etc.
Currently neither of Emacs thumbnail packages does this. A simple way to
imitate photo-album style is to generate a Emacs buffer with a table
with cells like:
~/.thumbnails/normal/072fe850fe7459ff797873891fbeb9ab.png
imgp2017.jpg
1.9MB 1600x1200
and to invoke `iimage-mode' on it (with making thumbnail file names
invisible).
>> Personally, I do not like the larger size of the thumbnail files used
>> by the Thumbnail Managing Standard although I like standards.
>
> It seems like it should be user-configurable, and configurable
> separately for the different cases (you're right the, in the dired
> case, they should be a bit smaller).
>
> Does the "standard" allow for saving thumbs with multiple sizes? Is
> the thumb size encoded in the filename somehow?
The Thumbnail Managing Standard defines two sizes for thumbnails: 128x128
and 256x256, and two corresponding directories with the following meaning:
~/.thumbnails/normal/
The default place for storing thumbnails. The image size must not exceed
128x128 pixel. Programs which need smaller resolutions should read and
write the 128x128 thumbnails and downscale them afterwards to the desired
dimension.
~/.thumbnails/large/
The previous notes apply to this directory too, except that the thumbnail
size must be 256x256 pixel.
There are also more suggestions in http://jens.triq.net/thumbnail-spec/creation.html:
If a program uses another size for it's previews it loads one of the
two versions and scales them down to the desired size.
However, these are suggestions. Implementations should cope also with
images that are smaller than the suggested size for the normal and large
subdirectories. Depending on the difference between the actual and the
desired size, they can either use the smaller one found in the cache and
scale it down or recreate a thumbnail with the proposed size for
this directory.
Since Emacs can't scale down images itself, it could create (with the help
of external programs) and use smaller thumbnails in ~/.thumbnails/normal/.
But writing smaller thumbnails to this directory is not a good thing.
I definitely wouldn't like if Gimp (which uses the same directory)
displayed thumbnails smaller than 128x128.
Perhaps we should use third directory ~/.thumbnails/small/ even though
it is not defined by the Thumbnail Managing Standard.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2006-02-06 7:27 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-25 1:08 thumbs.el and transparency Nick Roberts
2006-01-25 7:59 ` Juri Linkov
2006-01-25 9:20 ` Nick Roberts
2006-01-26 18:54 ` Mathias Dahl
2006-01-26 21:59 ` Nick Roberts
2006-01-27 3:46 ` Miles Bader
2006-01-27 9:27 ` Nick Roberts
2006-01-28 4:50 ` Richard M. Stallman
2006-01-28 23:58 ` Nick Roberts
2006-01-29 13:41 ` Mathias Dahl
2006-01-29 21:10 ` Nick Roberts
2006-01-29 22:42 ` Mathias Dahl
2006-01-30 10:26 ` Kim F. Storm
2006-01-30 11:23 ` Juanma Barranquero
2006-01-30 15:12 ` Chong Yidong
2006-01-30 15:41 ` Juanma Barranquero
2006-01-30 18:43 ` Chong Yidong
2006-01-31 15:31 ` CUA-related problem (was: Re: thumbs.el and transparency) Kim F. Storm
2006-01-31 15:41 ` Juanma Barranquero
2006-01-31 18:19 ` Luc Teirlinck
2006-01-31 19:32 ` Juanma Barranquero
2006-01-31 18:04 ` thumbs.el and transparency Richard M. Stallman
2006-01-31 19:47 ` Juanma Barranquero
2006-01-31 21:10 ` Luc Teirlinck
2006-01-31 23:08 ` Kim F. Storm
2006-01-31 23:45 ` Luc Teirlinck
2006-02-01 10:41 ` Kim F. Storm
2006-02-02 2:07 ` Luc Teirlinck
2006-02-02 9:26 ` Juanma Barranquero
2006-02-02 9:35 ` Kim F. Storm
2006-01-31 23:54 ` Luc Teirlinck
2006-02-01 10:45 ` Juanma Barranquero
2006-01-30 23:25 ` Richard M. Stallman
2006-01-31 9:26 ` Juanma Barranquero
2006-01-29 9:38 ` Sascha Wilde
2006-01-29 13:46 ` Mathias Dahl
2006-01-29 16:38 ` Miles Bader
2006-01-29 18:13 ` David Kastrup
2006-01-29 22:35 ` Mathias Dahl
2006-01-29 16:50 ` David Kastrup
2006-01-29 22:33 ` Mathias Dahl
2006-01-27 16:53 ` Mathias Dahl
2006-01-29 0:03 ` Nick Roberts
2006-01-30 0:56 ` Richard M. Stallman
2006-01-30 11:35 ` Mathias Dahl
2006-01-29 2:33 ` Miles Bader
2006-01-29 14:07 ` Mathias Dahl
2006-01-29 14:34 ` Mathias Dahl
2006-01-29 16:22 ` Robert J. Chassell
2006-01-29 18:01 ` Chong Yidong
2006-01-29 20:13 ` Nick Roberts
2006-01-30 1:04 ` Robert J. Chassell
2006-01-30 2:08 ` Nick Roberts
2006-01-30 14:44 ` Robert J. Chassell
2006-01-29 22:04 ` Mathias Dahl
2006-01-29 23:13 ` Chong Yidong
2006-01-30 11:57 ` Mathias Dahl
2006-01-30 14:18 ` Mathias Dahl
2006-01-30 1:49 ` Robert J. Chassell
2006-01-30 12:08 ` Mathias Dahl
2006-01-28 4:51 ` Richard M. Stallman
2006-01-29 16:01 ` Mathias Dahl
2006-01-30 18:46 ` Richard M. Stallman
2006-01-30 21:49 ` Mathias Dahl
2006-01-30 22:16 ` Mathias Dahl
2006-01-31 18:03 ` Richard M. Stallman
2006-02-01 10:44 ` Mathias Dahl
2006-02-02 4:16 ` Richard M. Stallman
2006-02-02 16:34 ` Mathias Dahl
2006-02-04 18:27 ` Richard M. Stallman
2006-02-05 12:03 ` Mathias Dahl
2006-02-05 20:36 ` Juri Linkov
2006-02-05 22:05 ` Mathias Dahl
2006-02-06 0:22 ` Miles Bader
2006-02-06 7:27 ` Juri Linkov [this message]
2006-02-06 17:37 ` Mathias Dahl
2006-02-07 10:59 ` Juri Linkov
2006-02-07 17:46 ` Mathias Dahl
2006-02-08 9:17 ` Juri Linkov
2006-02-08 15:27 ` Mathias Dahl
2006-02-09 17:29 ` Juri Linkov
2006-02-09 22:46 ` Mathias Dahl
2006-02-10 1:29 ` Juri Linkov
2006-02-10 10:14 ` Mathias Dahl
2006-02-10 10:28 ` Miles Bader
2006-02-10 13:45 ` tumme testing Robert J. Chassell
2006-02-10 14:26 ` Mattis
2006-02-10 18:18 ` Robert J. Chassell
2006-02-11 0:17 ` Mattis
2006-02-11 12:57 ` Robert J. Chassell
2006-02-11 21:54 ` Mathias Dahl
2006-02-11 1:22 ` Juri Linkov
2006-02-11 9:21 ` Mathias Dahl
2006-02-12 17:45 ` Juri Linkov
2006-02-12 21:21 ` Mathias Dahl
2006-02-12 23:41 ` Mathias Dahl
2006-02-13 0:24 ` Robert J. Chassell
2006-02-13 17:55 ` Juri Linkov
2006-02-13 18:41 ` Drew Adams
2006-02-14 6:18 ` Tomas Zerolo
2006-02-14 17:45 ` Juri Linkov
2006-02-13 20:21 ` Mathias Dahl
2006-02-10 16:47 ` Mathias Dahl
2006-02-11 16:45 ` thumbs.el and transparency Richard M. Stallman
2006-02-09 23:47 ` Miles Bader
2006-02-10 10:12 ` Mathias Dahl
2006-02-10 23:02 ` Richard M. Stallman
2006-02-10 23:56 ` Mathias Dahl
2006-02-11 1:21 ` Juri Linkov
2006-02-11 9:30 ` Mathias Dahl
2006-02-12 17:45 ` Juri Linkov
2006-02-12 18:35 ` Mathias Dahl
2006-02-12 4:30 ` Richard M. Stallman
2006-02-12 14:38 ` Mattis
2006-02-12 17:47 ` Juri Linkov
2006-02-12 18:39 ` Mathias Dahl
2006-02-13 17:57 ` Juri Linkov
2006-02-06 2:06 ` Richard M. Stallman
2006-02-06 21:19 ` Can someone verify my changes to tumme and dired? (was: thumbs.el and transparency) Mathias Dahl
2006-02-06 22:17 ` Can someone verify my changes to tumme and dired? Mathias Dahl
2006-02-06 23:33 ` David Kastrup
2006-02-07 12:58 ` Mathias Dahl
2006-01-27 4:12 ` thumbs.el and transparency Miles Bader
2006-01-27 4:50 ` Nick Roberts
-- strict thread matches above, loose matches on Subject: below --
2006-01-29 13:57 Xavier Maillard
2006-01-29 20:14 ` Nick Roberts
2006-01-29 22:11 ` Mathias Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87u0bdc5g7.fsf@jurta.org \
--to=juri@jurta.org \
--cc=brakjoller@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.