emacs-devel
[Top][All Lists]
Advanced

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

Bad decoded images


From: Julien Danjou
Subject: Bad decoded images
Date: Mon, 20 Sep 2010 15:33:57 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Hi,

I think there's a little problem with the current image code. If the
image data is bad, nothing will raise an error.

(image-size
 '(image :type gif :data "heya") t)
=> (30 . 30)

The only thing we can do is check the image size, if it's 30x30, then we
know it's a problem. But that does not look reliable.

Fix, anyone?

-- 
Julien Danjou
// ᐰ <address@hidden>   http://julien.danjou.info

Attachment: pgpgOaN9Saphy.pgp
Description: PGP signature


reply via email to

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