diff options
| author | Chong Yidong | 2012-10-13 09:18:52 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-10-13 09:18:52 +0800 |
| commit | 73f2b4abf53a5391f995edacf39c6de89fdc8f45 (patch) | |
| tree | 6d553a325cf7b6df97c8a8fed351fbb77d626f61 /doc/lispref | |
| parent | d6453ce49724b0a3bd24922ff0ad02f391d6e517 (diff) | |
| download | emacs-73f2b4abf53a5391f995edacf39c6de89fdc8f45.tar.gz emacs-73f2b4abf53a5391f995edacf39c6de89fdc8f45.zip | |
Document 24.3 ImageMagick changes.
* doc/emacs/files.texi (File Conveniences): ImageMagick enabled by default.
* doc/lispref/display.texi (ImageMagick Images): ImageMagick enabled by default.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 62 |
2 files changed, 24 insertions, 42 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 974a0d67192..40c457ffe07 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-10-13 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (ImageMagick Images): ImageMagick enabled by default. | ||
| 4 | |||
| 1 | 2012-10-05 Chong Yidong <cyd@gnu.org> | 5 | 2012-10-05 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * minibuf.texi (Basic Completion): Clarify list form of completion | 7 | * minibuf.texi (Basic Completion): Clarify list form of completion |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 11a86f3c1c5..3f92c50e2bc 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -4579,57 +4579,35 @@ specifying the bounding box of the PostScript image, analogous to the | |||
| 4579 | @cindex images, support for more formats | 4579 | @cindex images, support for more formats |
| 4580 | 4580 | ||
| 4581 | If you build Emacs with ImageMagick support, you can use the | 4581 | If you build Emacs with ImageMagick support, you can use the |
| 4582 | ImageMagick library to load many image formats. The image type symbol | 4582 | ImageMagick library to load many image formats (@pxref{File |
| 4583 | Conveniences,,, emacs, The GNU Emacs Manual}). The image type symbol | ||
| 4583 | for images loaded via ImageMagick is @code{imagemagick}, regardless of | 4584 | for images loaded via ImageMagick is @code{imagemagick}, regardless of |
| 4584 | the actual underlying image format. | 4585 | the actual underlying image format. |
| 4585 | 4586 | ||
| 4586 | @defun imagemagick-types | 4587 | @defun imagemagick-types |
| 4587 | This function returns a list of image file extensions supported by the | 4588 | This function returns a list of image file extensions supported by the |
| 4588 | current ImageMagick installation. | 4589 | current ImageMagick installation. Each list element is a symbol |
| 4589 | @end defun | 4590 | representing an internal ImageMagick name for an image type, such as |
| 4590 | 4591 | @code{BMP} for @file{.bmp} images. | |
| 4591 | By default, Emacs does not use ImageMagick to display images in | 4592 | @end defun |
| 4592 | Image mode, e.g.@: when visiting such files with @kbd{C-x C-f}. This | 4593 | |
| 4593 | feature is enabled by calling @code{imagemagick-register-types}. | 4594 | @defopt imagemagick-enabled-types |
| 4594 | 4595 | The value of this variable is a list of ImageMagick image types which | |
| 4595 | @defun imagemagick-register-types | 4596 | Emacs may attempt to render using ImageMagick. Each list element |
| 4596 | This function enables using Image mode to visit image files supported | 4597 | should be one of the symbols in the list returned by |
| 4597 | by ImageMagick. @xref{File Conveniences,,, emacs, The GNU Emacs | 4598 | @code{imagemagick-types}, or an equivalent string. Alternatively, a |
| 4598 | Manual}. It also causes @code{create-image} and other helper | 4599 | value of @code{t} enables ImageMagick for all possible image types. |
| 4599 | functions to associate such file names with the @code{imagemagick} | 4600 | Regardless of the value of this variable, |
| 4600 | image type (@pxref{Defining Images}). | 4601 | @code{imagemagick-types-inhibit} (see below) takes precedence. |
| 4601 | 4602 | @end defopt | |
| 4602 | All image file extensions supported by ImageMagick are registered, | ||
| 4603 | except those specified in @code{imagemagick-types-inhibit}. If Emacs | ||
| 4604 | was not compiled with ImageMagick support, this function does nothing. | ||
| 4605 | @end defun | ||
| 4606 | 4603 | ||
| 4607 | @defopt imagemagick-types-inhibit | 4604 | @defopt imagemagick-types-inhibit |
| 4608 | This variable specifies a list of image types that should @emph{not} | 4605 | The value of this variable lists the ImageMagick image types which |
| 4609 | be registered by @code{imagemagick-register-types}. Each entry in | 4606 | should never be rendered using ImageMagick, regardless of the value of |
| 4610 | this list should be one of the symbols returned by | 4607 | @code{imagemagick-enabled-types}. A value of @code{t} disables |
| 4611 | @code{imagemagick-types}. The default value lists several file types | 4608 | ImageMagick entirely. |
| 4612 | that are considered ``images'' by ImageMagick, but which should not be | ||
| 4613 | considered as images by Emacs, including C files and HTML files. | ||
| 4614 | @end defopt | 4609 | @end defopt |
| 4615 | 4610 | ||
| 4616 | @ignore | ||
| 4617 | @c I don't know what this means. I suspect it means eg loading jpg | ||
| 4618 | @c images via libjpeg or ImageMagick. But it doesn't work. | ||
| 4619 | @c If you don't have libjpeg support compiled in, you cannot | ||
| 4620 | @c view jpeg images, even if you have imagemagick support: | ||
| 4621 | @c http://debbugs.gnu.org/9045 | ||
| 4622 | @c And if you have both compiled in, then you always get | ||
| 4623 | @c the libjpeg version: | ||
| 4624 | @c http://debbugs.gnu.org/10746 | ||
| 4625 | There may be overlap between image loaders in your Emacs installation, | ||
| 4626 | and you may prefer to use a different one for a given image type | ||
| 4627 | (which loader will be used in practice depends on the priority of the | ||
| 4628 | loaders). | ||
| 4629 | For example, if you never want to use the ImageMagick loader to view | ||
| 4630 | JPEG files, add @code{JPG} to this list. | ||
| 4631 | @end ignore | ||
| 4632 | |||
| 4633 | Images loaded with ImageMagick support the following additional | 4611 | Images loaded with ImageMagick support the following additional |
| 4634 | image descriptor properties: | 4612 | image descriptor properties: |
| 4635 | 4613 | ||