Mercurial > emacs
annotate README.imagemagick @ 109856:4baaa8ac0f74
image count
author | Joakim <joakim@localhost.localdomain> |
---|---|
date | Fri, 14 May 2010 10:20:36 +0200 |
parents | fe07c47cf7a7 |
children | d7a20b755b64 |
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 | |
16 | |
109856 | 17 * TODO |
18 ** complete documentation drafts below | |
19 | |
20 ** fix inconsistencys with spelling of imagemagick in the src | |
21 ** report number of images in image bundle types somehow | |
22 ** probably add pdf to inhibited types | |
23 ** inhibit types is defconst should probably be defcustom | |
24 ** decide what to do with some uncommitted imagemagick support | |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
25 functions for image size etc. |
109856 | 26 ** Test with more systems |
27 Tested on Fedora 12 so far, and the libmagick that ships with it. | |
28 Ubuntu 8.04 was also tested, but it seems it ships a broken ImageMagick. | |
29 Also need some way to handle render methods that only work on newer ImageMagicks | |
30 | |
31 ** suport "count" property in image-metadata | |
32 | |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
33 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
34 * NEWS entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
35 ** ImageMagick support |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
36 It is now possible to use the Imagemagick library to load many new |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
37 image formats in Emacs. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
38 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
39 To enable, use the following configure option: |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
40 --with-imagemagick |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
41 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
42 The new function (imagemagick-types) returns a list of image file |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
43 extensions that your installation of imagemagick supports. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
44 |
109853 | 45 The function (imagemagick-register-types) will enable the imagemagick |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
46 support for the extensions in imagemagick-types minus the types listed |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
47 in imagemagick-types-inhibit. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
48 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
49 imagemagick-types-inhibit has the value '(C HTML HTM TXT) by default. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
50 This means imagemagick will be used also to load jpeg files, if you |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
51 have both jpeg and imagemagick libraries linked. Add 'JPG to |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
52 imagemagick-types-inhibit if you do not want this. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
53 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
54 Images loaded with imagemagick will support a couple of new display |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
55 specifications: |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
56 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
57 - scale |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
58 - rotation |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
59 - index |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
60 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
61 * Changelog entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
62 nothing yet |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
63 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
64 * Manual entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
65 nothing yet |