magic.xml 888 B

1234567891011121314151617181920212223
  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. ]>
  9. <!--
  10. Associate an image format with a unique identifier.
  11. Many image formats have identifiers that uniquely identify a particular
  12. image format. For example, the GIF image format always begins with GIF8
  13. as the first 4 characters of the image. ImageMagick uses this information
  14. to quickly determine the type of image it is dealing with when it reads
  15. an image.
  16. -->
  17. <magicmap>
  18. <!-- <magic name="GIF" offset="0" target="GIF8"/> -->
  19. <!-- <magic name="JPEG" offset="0" target="\377\330\377"/> -->
  20. <!-- <magic name="PNG" offset="0" target="\211PNG\r\n\032\n"/> -->
  21. <!-- <magic name="TIFF" offset="0" target="\115\115\000\052"/> -->
  22. </magicmap>