emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few issues with thumbs.el


From: Mathias Dahl
Subject: Re: A few issues with thumbs.el
Date: Mon, 13 Jun 2005 16:21:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

address@hidden (Kim F. Storm) writes:

>> Seems quite good although I don't like the idea of using PNG-files as
>> their size is much larger than using JPEG.
>
> As long as they are smaller than the block size on your file system,
> it probably doesn't matter...

Good point. Anyway, PNG is the format suggested in the spec and one
could guess that they did some investigation on pros and cons of
various image formats before deciding on PNG...


>> The file names are named according to the absolute URI's MD5 value,
>> which most in this thread seems to dislike (including myself).
>
> Is there really such a thing as an absolute URI?
>
> E.g. if the images are on a server somewhere -- the file name on
> windoze may be h:\x\y\z.png while on GNU the file name may be
> /mnt/images/z.png.

Sorry, that was probably a sloppy description from me. What they
suggest is to generate the URL/URI (which is it?) to the file, so:

/home/mathias/pics/my_pic_01.jpg

becomes

file:///home/mathias/pics/my_pic_01.jpg

After that they compute the MD5 sum for this value and use that as
thumbnail file name. Also, some information is added to the PNG file
(original file name and some more stuff). Read the full spec for more
information, I better not try to explain it myself again... :)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]