Mercurial > emacs
annotate README.imagemagick @ 109857:d7a20b755b64
configure support for MagickExportImagePixels and README
author | Joakim <joakim@localhost.localdomain> |
---|---|
date | Fri, 14 May 2010 12:07:01 +0200 |
parents | 4baaa8ac0f74 |
children | 8e0241dfb81c |
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 | |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
31 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
32 * NEWS entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
33 ** ImageMagick support |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
34 It is now possible to use the Imagemagick library to load many new |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
35 image formats in Emacs. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
36 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
37 To enable, use the following configure option: |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
38 --with-imagemagick |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
39 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
40 The new function (imagemagick-types) returns a list of image file |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
41 extensions that your installation of imagemagick supports. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
42 |
109853 | 43 The function (imagemagick-register-types) will enable the imagemagick |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
44 support for the extensions in imagemagick-types minus the types listed |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
45 in imagemagick-types-inhibit. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
46 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
47 imagemagick-types-inhibit has the value '(C HTML HTM TXT) by default. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
48 This means imagemagick will be used also to load jpeg files, if you |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
49 have both jpeg and imagemagick libraries linked. Add 'JPG to |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
50 imagemagick-types-inhibit if you do not want this. |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
51 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
52 Images loaded with imagemagick will support a couple of new display |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
53 specifications: |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
54 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
55 - scale |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
56 - rotation |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
57 - index |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
58 |
109857
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
59 See the ImageMagick manual for information on how these specifications |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
60 work. |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
61 |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
62 The image-metadata function can be used to retrieve the total number |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
63 of images in an image bundle, and the :index property can be used to |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
64 show a particular image within the bundle. This is simmilar to how GIF |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
65 files work. |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
66 |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
67 |
d7a20b755b64
configure support for MagickExportImagePixels and README
Joakim <joakim@localhost.localdomain>
parents:
109856
diff
changeset
|
68 |
109852
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
69 * Changelog entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
70 nothing yet |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
71 |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
72 * Manual entry |
e56f669f17ce
initial imagemagick readme
Joakim <joakim@localhost.localdomain>
parents:
diff
changeset
|
73 nothing yet |