emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101391: * doc/lispref/display.texi (


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101391: * doc/lispref/display.texi (ImageMagick Images): General cleanup.
Date: Wed, 08 Sep 2010 19:18:38 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101391
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2010-09-08 19:18:38 -0700
message:
  * doc/lispref/display.texi (ImageMagick Images): General cleanup.
modified:
  doc/lispref/ChangeLog
  doc/lispref/display.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2010-09-06 16:38:03 +0000
+++ b/doc/lispref/ChangeLog     2010-09-09 02:18:38 +0000
@@ -1,3 +1,7 @@
+2010-09-09  Glenn Morris  <address@hidden>
+
+       * display.texi (ImageMagick Images): General cleanup.
+
 2010-09-06  Alexander Klimov  <address@hidden>  (tiny change)
 
        * files.texi (Directory Names): Use \` rather than ^.

=== modified file 'doc/lispref/display.texi'
--- a/doc/lispref/display.texi  2010-08-28 08:10:13 +0000
+++ b/doc/lispref/display.texi  2010-09-09 02:18:38 +0000
@@ -4468,47 +4468,56 @@
 
 @node ImageMagick Images
 @subsection ImageMagick Images
-The Imagemagick library can be used to load many image formats in Emacs.
-
-The function (imagemagick-types) returns a list of image file
-extensions that your installation of imagemagick supports.
-
-The function (imagemagick-register-types) will enable the imagemagick
-support for the extensions in imagemagick-types minus the types listed
-in imagemagick-types-inhibit.
-
-imagemagick-types-inhibit has the value '(C HTML HTM TXT PDF) by
-default.  There can be overlap between image loaders in your Emacs
-installation. If you never want to use the ImageMagick loader to use
-Jpeg files, for instance, add 'JPG to imagemagick-types-inhibit. Which
-loader that will be used in practice depends on the priority of the
-loaders.
-
-imagemagick-render-type is a new variable which can be set to choose
-between screen render methods for the ImageMagick loader.
-
-- 0 is a conservative metod which works with older ImageMagick
-  versions. It is a bit slow, but robust.
-
-- 1 utilizes a newer ImageMagick method   
-
-
-Images loaded with imagemagick will support a couple of new display
-specification behaviours:
-
-- if the :width and :height keywords are specified, these values are
-used for scaling the image. If only one of :width or :height is
-specified, the other one will be calculated so as to preserve the
-aspect ratio.If both :width and :height are specified, aspect ratio
-will not be preserved.
-
-- :rotation specifies a rotation angle in degrees.
-
-- :index specifies which image inside an image bundle file format, such
-as TIFF or DJVM, to view.
-
-The image-metadata function can be used to retrieve the total number
-of images in an image bundle. This is simmilar to how GIF files work.
address@hidden ImageMagick images
address@hidden images, support for more formats
+
+  If you build Emacs with ImageMagick (@url{http://www.imagemagick.org})
+support, you can use the ImageMagick library to load many image formats.
+
address@hidden imagemagick-types
+The function @code{imagemagick-types} returns a list of image file
+extensions that your installation of ImageMagick supports.  To enable
+support, you must call the function @code{imagemagick-register-types}.
+
address@hidden imagemagick-types-inhibit
+The variable @code{imagemagick-types-inhibit} specifies a list of
+image types that you do @emph{not} want ImageMagick to handle.  There
+may be overlap between image loaders in your Emacs installation, and
+you may prefer to use a different one for a given image type (which
address@hidden FIXME how is this priority determined?
+loader will be used in practice depends on the priority of the loaders).
address@hidden FIXME why are these uppercase when image-types is lower-case?
address@hidden FIXME what are the possibe options?  Are these actually file 
extensions?
+For example, if you never want to use the ImageMagick loader to use
+JPEG files, add @code{JPG} to this list.
+
address@hidden imagemagick-render-type
+You can set the variable @code{imagemagick-render-type} to choose
+between screen render methods for the ImageMagick loader.  The options
+are: @code{0}, a conservative method which works with older
address@hidden FIXME details of this "newer method"?
address@hidden Presumably it is faster but may be less "robust"?
+ImageMagick versions (it is a bit slow, but robust); and @code{1},
+a newer ImageMagick method.
+
+Images loaded with ImageMagick support a few new display specifications:
+
address@hidden @code
address@hidden :width, :height
+The @code{:width} and @code{:height} keywords are used for scaling the
+image.  If only one of them is specified, the other one will be
+calculated so as to preserve the aspect ratio.  If both are specified,
+aspect ratio may not be preserved.
+
address@hidden :rotation
+Specifies a rotation angle in degrees.
+
address@hidden :index
+Specifies which image to view inside an image bundle file format, such
+as TIFF or DJVM.  You can use the @code{image-metadata} function to
+retrieve the total number of images in an image bundle (this is
+similar to how GIF files work).
address@hidden table
 
 
 @node Other Image Types


reply via email to

[Prev in Thread] Current Thread [Next in Thread]