From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Re: Some images make Emacs behave strangely
Date: Sun, 29 Aug 2010 21:17:00 -0400 [thread overview]
Message-ID: <87lj7o6gs3.fsf@stupidchicken.com> (raw)
In-Reply-To: <m3hbidtph4.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 29 Aug 2010 17:20:39 +0200")
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Here's an image from the pheedo web tracking ad thingie whatever:
>
> [larsi@quimbies ~/pgnus]$ file /tmp/a
> /tmp/a: GIF image data, version 89a, 1 x 1
>
> However:
>
> (image-size (create-image "/tmp/a") t)
> => (30 . 30)
>
> And inserting that image into the buffer yields an empty 30x30 box:
>
> (put-image (create-image "/tmp/a") (point))
Emacs fails to load the image, because DGifSlurp returns GIF_ERROR when
we try to load its contents into memory. I dunno what else we could do
to avoid failing (or why the GIMP seems to be able to handle this gif).
If I create a 1x1 gif file using the GIMP, Emacs can read it perfectly.
next prev parent reply other threads:[~2010-08-30 1:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-29 15:20 Some images make Emacs behave strangely Lars Magne Ingebrigtsen
2010-08-30 1:17 ` Chong Yidong [this message]
2010-08-30 2:49 ` Lars Magne Ingebrigtsen
2010-08-30 8:35 ` David Kastrup
2010-08-30 16:59 ` Andreas Schwab
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=87lj7o6gs3.fsf@stupidchicken.com \
--to=cyd@stupidchicken.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.