all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [mathias.dahl@gmail.com: Re: Tumme fails with default custom settings]
Date: Wed, 25 Apr 2007 09:51:22 +0200	[thread overview]
Message-ID: <868xcgao3p.fsf@lola.quinscape.zz> (raw)
In-Reply-To: <7dbe73ed0704250047x19bebaf8s5dbb3ae5ac42073e@mail.gmail.com> (Mathias Dahl's message of "Wed\, 25 Apr 2007 09\:47\:00 +0200")

"Mathias Dahl" <mathias.dahl@gmail.com> 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	other threads:[~2007-04-25  7:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25  2:05 [mathias.dahl@gmail.com: Re: Tumme fails with default custom settings] Richard Stallman
2007-04-25  4:57 ` Glenn Morris
2007-04-25  7:47 ` Mathias Dahl
2007-04-25  7:51   ` David Kastrup [this message]
2007-04-25 14:03     ` Mathias Dahl
2007-04-25 10:10   ` Tassilo Horn
2007-04-26  4:23   ` Richard Stallman
2007-04-26  2:56 ` Glenn Morris
2007-04-26 11:31   ` Mathias Dahl
2007-04-26 15:24     ` Glenn Morris
2007-04-26 20:11       ` Mathias Dahl
2007-04-26 21:00       ` Stephen Berman
2007-04-27  0:58         ` Glenn Morris
2007-04-27 20:39           ` Richard Stallman
2007-04-28  4:11             ` Glenn Morris
2007-04-28 12:46               ` 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=868xcgao3p.fsf@lola.quinscape.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    --cc=rms@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.