diff options
| author | Lars Magne Ingebrigtsen | 2013-06-23 21:24:27 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2013-06-23 21:24:27 +0200 |
| commit | f3f9606c7acb4b3248dbe6f9fe16db6d5e46c3af (patch) | |
| tree | c96757e2023bc5b30e6ba77f58478cefcabd9ac7 /etc | |
| parent | e854cfc719363ccee23beaa7d0f79aab65d82a98 (diff) | |
| download | emacs-f3f9606c7acb4b3248dbe6f9fe16db6d5e46c3af.tar.gz emacs-f3f9606c7acb4b3248dbe6f9fe16db6d5e46c3af.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -695,6 +695,9 @@ ImageMagick types are treated as images. The function | |||
| 695 | `imagemagick-filter-types' returns the list of types that will be | 695 | `imagemagick-filter-types' returns the list of types that will be |
| 696 | treated as images. | 696 | treated as images. |
| 697 | 697 | ||
| 698 | *** ImageMagick images now support the :max-width and :max-height | ||
| 699 | keywords. | ||
| 700 | |||
| 698 | ** Minibuffer | 701 | ** Minibuffer |
| 699 | 702 | ||
| 700 | *** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the | 703 | *** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the |