changeset 109863:d68f30f3aba2

doc improvement
author Joakim <joakim@localhost.localdomain>
date Tue, 15 Jun 2010 15:06:47 +0200
parents 62b3728b6678
children 458fda2a5cff
files README.imagemagick
diffstat 1 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/README.imagemagick	Mon Jun 14 23:45:08 2010 +0200
+++ b/README.imagemagick	Tue Jun 15 15:06:47 2010 +0200
@@ -79,7 +79,7 @@
 Images loaded with imagemagick will support a couple of new display
 specifications:
 
-- :scale takes a geometry string as defined by ImageMagick:
+- :geometry takes a geometry string as defined by ImageMagick:
 
 scale%            
 scale-x%xscale-y% 
@@ -91,10 +91,14 @@
 widthxheight>     
 widthxheight<     
 area@             
-{size}{offset}                                                                                                                                                               {size}{+-}x{+-}y
+{size}{offset}
+{size}{+-}x{+-}y
 
 See the ImageMagick manual for more information.
 
+Furthermore, if the :width and :height keywords are specified, these
+values are used for scaling the image.
+
 - :rotation specifies a rotation angle in degrees.
 
 - :index specifies which image inside an image bundle file format, such
@@ -103,6 +107,13 @@
 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.
 
+- :crop is used to specify a croping area, with the {size}{offset}
+syntax.  This is similar to the slice image specification, but has a
+different purpose. :crop removes the croped areas from memory, so its
+memory efficient if you only need to view a certain part of the
+image. :slice can be used to pick diferent parts of the same image, so
+its more disk and display efficient.
+
 
 * Changelog entry
 2010-06-12 Joakim Verona <joakim@verona.se>