cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE magicmap [ |
| 3 | <!ELEMENT magicmap (magic)+> |
| 4 | <!ELEMENT magic (#PCDATA)> |
| 5 | <!ATTLIST magic name CDATA #REQUIRED> |
| 6 | <!ATTLIST magic offset CDATA "0"> |
| 7 | <!ATTLIST magic target CDATA #REQUIRED> |
| 8 | ]> |
cristy | 1ca3eb3 | 2009-10-15 18:41:54 +0000 | [diff] [blame] | 9 | <!-- |
| 10 | Associate an image format with a unique identifier. |
| 11 | |
| 12 | Many image formats have identifiers that uniquely identify a particular |
| 13 | image format. For example, the GIF image format always begins with GIF8 |
| 14 | as the first 4 characters of the image. ImageMagick uses this information |
| 15 | to quickly determine the type of image it is dealing with when it reads |
| 16 | an image. |
| 17 | --> |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 18 | <magicmap> |
cristy | 1ca3eb3 | 2009-10-15 18:41:54 +0000 | [diff] [blame] | 19 | <!-- <magic name="GIF" offset="0" target="GIF8"/> --> |
| 20 | <!-- <magic name="JPEG" offset="0" target="\377\330\377"/> --> |
| 21 | <!-- <magic name="PNG" offset="0" target="\211PNG\r\n\032\n"/> --> |
| 22 | <!-- <magic name="TIFF" offset="0" target="\115\115\000\052"/> --> |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 23 | </magicmap> |