Mercurial > emacs
annotate README.imagemagick @ 109865:131c45ff9c34
documented some more
author | Joakim <joakim@localhost.localdomain> |
---|---|
date | Mon, 21 Jun 2010 20:19:25 +0200 |
parents | 458fda2a5cff |
children | 73512e4aa257 |
rev | line source |
---|---|
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
1 This is the imagemagick branch of Emacs. Imagemagick can now be used |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
2 to load many new image formats, and also do useful transforms like |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
3 scaling and rotation. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
4 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
5 This file will attempt to contain draft NEWS, Changelog and manual |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
6 entries for the new functionality. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
7 |
109853 | 8 You might need to regenerate the configure scripts: |
9 aclocal | |
10 automake | |
11 autoheader | |
12 autoconf | |
13 ./configure --with-imagemagick | |
14 | |
15 | |
109865
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
16 * TODO |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
17 |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
18 - image-type-header-regexps priorities the jpeg loader over the |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
19 imagemagick one. This is not wrong, but how should a user go about |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
20 prefering the imagemagick loader? The user might like zooming etc in |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
21 jpegs. |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
22 |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
23 - For some reason its unbearably slow to look at a page in a large |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
24 image bundle using the :index feature. The imagemagick "display" |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
25 command is also a bit slow, but nowhere near as slow as the emacs |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
26 code. It seems imagemagick tries to unpack every page when loading |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
27 the bundle. This feature is not the primary usecase for the |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
28 imagemagick patch though. |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
29 |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
30 - zooming the image like what is done for fonts in face-remap.el would |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
31 be a useful and demo friendly addition. |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
32 |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
33 - figure out what to do with the experimental features noted below. |
109853 | 34 |
109856 | 35 * TODO |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
36 #B _ complete documentation drafts below |
109856 | 37 |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
38 #B X fix inconsistencys with spelling of imagemagick in the src |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
39 #B X report number of images in image bundle types somehow |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
40 Works like for "gif" support. Thanks to Juri Linkov. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
41 #B X probably add pdf to inhibited types |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
42 #B X inhibit types is defconst should probably be defcustom |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
43 #B _ decide what to do with some uncommitted imagemagick support |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
44 functions for image size etc. |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
45 #B _ Test with more systems |
109856 | 46 Tested on Fedora 12 so far, and the libmagick that ships with it. |
47 Ubuntu 8.04 was also tested, but it seems it ships a broken ImageMagick. | |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
48 #B X Also need some way to handle render methods that only work on newer ImageMagicks |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
49 Is handled by configure now |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
50 |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
51 * Some nits from Stefan Monnier |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
52 I just took a quick look at the code and I see the following nits to fix: |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
53 #B _ obviously a merge will have to come with a good ChangeLog. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
54 #B X also the merge will need to come with documentation. Maybe not in the |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
55 Texinfo form yet, but at least in the etc/NEWS with enough info that |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
56 describes the `scale' and other such arguments that someone can start |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
57 using them. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
58 #B X the README talks about naming inconsistencies, I think these should be |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
59 fixed before a first commit (should be straightforward). |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
60 |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
61 #B X the "let" in image.el should not be followed by a line break and the while |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
62 should be replaced by a dolist. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
63 |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
64 #B X the prototype of imagemagick_load_image has some odd indentation in ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
65 its args, not sure what happened. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
66 #B X a few lines in the C code break the 80columns limit. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
67 #B X please use ANSI style function declarations rather than K&R for new code. ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
68 #B X you can get rid of the prototypes by reordering the code. ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
69 #B X the docstrings in DEFUN should not be indented (they'll display ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
70 weirdly otherwise in C-h f). |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
71 #B X Some "{" are at the end of a for/if rather than on their own line. ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
72 #B X why use "*( imtypes + i)" rather than "imtypes[i]"? ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
73 #B X some "," lack a space after them. ([[2010.06.14]]) |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
74 #B X several "=" and "==" lack spaces around them. ([[2010.06.14]]) |
109856 | 75 |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
76 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
77 * NEWS entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
78 ** ImageMagick support |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
79 It is now possible to use the Imagemagick library to load many new |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
80 image formats in Emacs. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
81 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
82 To enable, use the following configure option: |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
83 --with-imagemagick |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
84 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
85 The new function (imagemagick-types) returns a list of image file |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
86 extensions that your installation of imagemagick supports. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
87 |
109853 | 88 The function (imagemagick-register-types) will enable the imagemagick |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
89 support for the extensions in imagemagick-types minus the types listed |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
90 in imagemagick-types-inhibit. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
91 |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
92 imagemagick-types-inhibit has the value '(C HTML HTM TXT PDF) by default. |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
93 This means imagemagick will be used also to load jpeg files, if you |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
94 have both jpeg and imagemagick libraries linked. Add 'JPG to |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
95 imagemagick-types-inhibit if you do not want this. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
96 |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
97 imagemagick-render-type is a new variable which can be set to choose |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
98 between screen render methods. |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
99 |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
100 - 0 is a conservative metod which works with older ImageMagick |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
101 versions. It is a bit slow, but robust. |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
102 |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
103 - 1 utilizes a newer ImageMagick method |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
104 |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
105 |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
106 Images loaded with imagemagick will support a couple of new display |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
107 specification behaviours: |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
108 |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
109 - if the :width and :height keywords are specified, these values are |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
110 used for scaling the image. If only one of :width or :height is |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
111 specified, the other one will be calculated so as to preserve the |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
112 aspect ratio.If both :width and :height are specified, aspect ratio |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
113 will not be preserved. |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
114 |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
115 - :rotation specifies a rotation angle in degrees. |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
116 |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
117 - :index specifies which image inside an image bundle file format, such |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
118 as TIFF or DJVM, to view. |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
119 |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
120 The image-metadata function can be used to retrieve the total number |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
121 of images in an image bundle. This is simmilar to how GIF files work. |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
122 |
109865
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
123 * experimental |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
124 |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
125 - :crop is used to specify a croping area: (width height x y). This |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
126 is similar to the slice image specification, but has a different |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
127 purpose. :crop removes the croped areas from memory, so its memory |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
128 efficient if you only need to view a certain part of the image. The |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
129 slice specification can be used to pick diferent parts of the same |
109865
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
130 image, so its more disk and display efficient. :crop works well, but |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
131 it would still be better to find a way to have :splice do the same |
131c45ff9c34
documented some more
Joakim <joakim@localhost.localdomain>
parents:
109864
diff
changeset
|
132 thing. |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
133 |
109863 | 134 - :geometry takes a geometry string as defined by ImageMagick: |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
135 |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
136 scale% |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
137 scale-x%xscale-y% |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
138 width |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
139 xheight |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
140 widthxheight |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
141 widthxheight^ |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
142 widthxheight! |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
143 widthxheight> |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
144 widthxheight< |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
145 area@ |
109863 | 146 {size}{offset} |
147 {size}{+-}x{+-}y | |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
148 |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
149 See the ImageMagick manual for more information. |
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
150 |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
151 - :crop is used to specify a croping area, with the "{size}{offset}" syntax. |
109857
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
152 |
109864
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
153 :geometry and :crop with a string argument, are both particular to |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
154 ImageMagick, whereas the lisp interface is more general. Currently it |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
155 seems like the lisp interface is good enough, so the string argument |
458fda2a5cff
improved lisp interface to scaling, doc changed acordingly
Joakim <joakim@localhost.localdomain>
parents:
109863
diff
changeset
|
156 interface will probably be removed. |
109857
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
157 |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
158 * Changelog entry |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
159 2010-06-12 Joakim Verona <joakim@verona.se> |
109862
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
160 * image.c: Add support for ImageMagick. When HAVE_IMAGEMAGICK is |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
161 defined: |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
162 (imagemagick_image_p): New function to test for ImageMagic img. |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
163 (imagemagick_load): New function to load ImageMagick img. |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
164 (imagemagick_load_image): New function, helper for imagemagick_load |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
165 (imagemagick-types): New function. |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
166 (Qimagemagick): New Lisp_object. |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
167 * image.el: |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
168 (imagemagick-types-inhibit): New var. |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
169 (imagemagick-register-types): New function. |
62b3728b6678
attempt at Changelog entry, see README.imagemagick
Joakim <joakim@localhost.localdomain>
parents:
109861
diff
changeset
|
170 * config.in, Makefile.in, configure.in |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
171 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
172 * Manual entry |
109861
8e0241dfb81c
cosmetics, and changing of defconst to defcustom
Joakim <joakim@localhost.localdomain>
parents:
109857
diff
changeset
|
173 nothing yet, but the NEWS entry could be adapted. |