comparison README.imagemagick @ 109863:d68f30f3aba2

doc improvement
author Joakim <joakim@localhost.localdomain>
date Tue, 15 Jun 2010 15:06:47 +0200
parents 62b3728b6678
children 458fda2a5cff
comparison
equal deleted inserted replaced
109862:62b3728b6678 109863:d68f30f3aba2
77 imagemagick-types-inhibit if you do not want this. 77 imagemagick-types-inhibit if you do not want this.
78 78
79 Images loaded with imagemagick will support a couple of new display 79 Images loaded with imagemagick will support a couple of new display
80 specifications: 80 specifications:
81 81
82 - :scale takes a geometry string as defined by ImageMagick: 82 - :geometry takes a geometry string as defined by ImageMagick:
83 83
84 scale% 84 scale%
85 scale-x%xscale-y% 85 scale-x%xscale-y%
86 width 86 width
87 xheight 87 xheight
89 widthxheight^ 89 widthxheight^
90 widthxheight! 90 widthxheight!
91 widthxheight> 91 widthxheight>
92 widthxheight< 92 widthxheight<
93 area@ 93 area@
94 {size}{offset} {size}{+-}x{+-}y 94 {size}{offset}
95 {size}{+-}x{+-}y
95 96
96 See the ImageMagick manual for more information. 97 See the ImageMagick manual for more information.
98
99 Furthermore, if the :width and :height keywords are specified, these
100 values are used for scaling the image.
97 101
98 - :rotation specifies a rotation angle in degrees. 102 - :rotation specifies a rotation angle in degrees.
99 103
100 - :index specifies which image inside an image bundle file format, such 104 - :index specifies which image inside an image bundle file format, such
101 as TIFF or DJVM, to view. 105 as TIFF or DJVM, to view.
102 106
103 The image-metadata function can be used to retrieve the total number 107 The image-metadata function can be used to retrieve the total number
104 of images in an image bundle. This is simmilar to how GIF files work. 108 of images in an image bundle. This is simmilar to how GIF files work.
109
110 - :crop is used to specify a croping area, with the {size}{offset}
111 syntax. This is similar to the slice image specification, but has a
112 different purpose. :crop removes the croped areas from memory, so its
113 memory efficient if you only need to view a certain part of the
114 image. :slice can be used to pick diferent parts of the same image, so
115 its more disk and display efficient.
105 116
106 117
107 * Changelog entry 118 * Changelog entry
108 2010-06-12 Joakim Verona <joakim@verona.se> 119 2010-06-12 Joakim Verona <joakim@verona.se>
109 * image.c: Add support for ImageMagick. When HAVE_IMAGEMAGICK is 120 * image.c: Add support for ImageMagick. When HAVE_IMAGEMAGICK is