From: Lars Magne Ingebrigtsen Date: Fri, 16 Aug 2013 15:17:21 +0000 (+0200) Subject: * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b5fe4ee092b847504023d3a471e1924c63f0155;p=emacs.git * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs Now that Emacs supports ImageMagick animations. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1b20f9cc10e..8440647737c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-08-16 Lars Magne Ingebrigtsen + + * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs + now that Emacs supports ImageMagick animations. + 2013-08-16 Michael Albinus * net/tramp-cmds.el (top): Don't declare `buffer-name'. diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 3283712bf0a..9cac618b159 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -779,7 +779,6 @@ element is the data blob and the second element is the content-type." "Rescale DATA, if too big, to fit the current buffer. If FORCE, rescale the image anyway." (if (or (not (fboundp 'imagemagick-types)) - (eq (image-type-from-data data) 'gif) (not (get-buffer-window (current-buffer)))) (create-image data nil t :ascent 100) (let ((edges (window-inside-pixel-edges