Implement :max-width/:max-height for (ImageMagic) images
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 23 Jun 2013 19:24:27 +0000 (21:24 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 23 Jun 2013 19:24:27 +0000 (21:24 +0200)
commitf3f9606c7acb4b3248dbe6f9fe16db6d5e46c3af
treec96757e2023bc5b30e6ba77f58478cefcabd9ac7
parente854cfc719363ccee23beaa7d0f79aab65d82a98
Implement :max-width/:max-height for (ImageMagic) images

* doc/lispref/display.texi (ImageMagick Images): Mention :max-width and
:max-height.

* lisp/net/shr.el (shr-rescale-image): Use the new
:max-width/:max-height functionality.

* src/image.c (compute_image_size): New function to implement
:max-width and :max-height.
(imagemagick_load_image): Use it.
doc/lispref/ChangeLog
doc/lispref/display.texi
etc/NEWS
lisp/ChangeLog
lisp/net/shr.el
src/ChangeLog
src/image.c