* Bad decoded images
@ 2010-09-20 13:33 Julien Danjou
0 siblings, 0 replies; only message in thread
From: Julien Danjou @ 2010-09-20 13:33 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
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
// ᐰ <julien@danjou.info> http://julien.danjou.info
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-20 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 13:33 Bad decoded images Julien Danjou
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.