emacs-devel
[Top][All Lists]
Advanced

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

Re: Some images make Emacs behave strangely


From: Chong Yidong
Subject: Re: Some images make Emacs behave strangely
Date: Sun, 29 Aug 2010 21:17:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Here's an image from the pheedo web tracking ad thingie whatever:
>
> address@hidden ~/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.



reply via email to

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