# HG changeset patch # User Joakim # Date 1276607207 -7200 # Node ID d68f30f3aba2473ddceec0eb898c7dae2449c2e9 # Parent 62b3728b6678d947a5f962cf48a38b4b0dc4635a doc improvement diff -r 62b3728b6678 -r d68f30f3aba2 README.imagemagick --- 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