emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: Tumme fails with default custom settings]


From: David Kastrup
Subject: Re: address@hidden: Re: Tumme fails with default custom settings]
Date: Wed, 25 Apr 2007 09:51:22 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

"Mathias Dahl" <address@hidden> writes:

>> Yes. The cause of the problem was that when displaying the image in
>> its original size, no conversion was needed, and therefore the image
>> format was not always JPEG (JPEG this was hardcoded in the previous
>> version of the defun below, now it is replaced by a variable).
>>
>> The new version below takes care of this case and uses
>> `image-type-from-file-name' to determine the image type. This solves
>> the problem for PNG and XPM files (the ones I could test that wasn't
>> JPEG) but GIF does not seem to be possible to insert. Is this on
>> purpose?
>
> Richard, can you comment on the GIF issue above? I am suspecting that
> the old patent on the LZW compression algorithm has something to do
> with it (http://www.gnu.org/philosophy/gif.html). Does it? When
> opening JPEG and PNG files from Dired, I automaticaly see the image,
> and this does not happen with GIF.

Possibly depends on the libraries your Emacs has been compiled with.
What is the output of
(image-type-available-p 'gif)
?

-- 
David Kastrup




reply via email to

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