]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Mon, 29 May 2017 12:17:22 +0000 (08:17 -0400)
committerCristy <urban-warrior@imagemagick.org>
Mon, 29 May 2017 12:17:22 +0000 (08:17 -0400)
config/quantization-table.xml

index a05552bb75e83f1c5f2caef14baea65a173ec822..fb718749a257de22cfc80decbe5ce10e8de239f1 100644 (file)
@@ -1,13 +1,18 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE quantization-tables [
-<!ELEMENT quantization-tables (table)+>
-<!ELEMENT table (description , levels)>
-<!ELEMENT description (CDATA)>
-<!ELEMENT levels (CDATA)>
-<!ATTLIST table slot ID #REQUIRED>
-<!ATTLIST levels width CDATA #REQUIRED>
-<!ATTLIST levels height CDATA #REQUIRED>
-<!ATTLIST levels divisor CDATA #REQUIRED>
+  <!ELEMENT quantization-tables (table)>
+  <!ATTLIST quantization-tables xmlns CDATA #FIXED "">
+  <!ELEMENT table (description , levels)>
+  <!ATTLIST table xmlns CDATA #FIXED "">
+  <!ATTLIST table alias NMTOKEN #REQUIRED>
+  <!ATTLIST table slot CDATA #REQUIRED>
+  <!ELEMENT description (#PCDATA)>
+  <!ATTLIST description xmlns CDATA #FIXED "">
+  <!ELEMENT levels (#PCDATA)>
+  <!ATTLIST levels xmlns CDATA #FIXED "">
+  <!ATTLIST levels divisor CDATA #REQUIRED>
+  <!ATTLIST levels height CDATA #REQUIRED>
+  <!ATTLIST levels width CDATA #REQUIRED>
 ]>
 <!--
   JPEG quantization table created by Dr. Nicolas Robidoux, Senior Research
       85,  75,  135, 156, 189, 238, 311, 418
     </levels>
   </table>
-<!--
-  If you want to use a different quantization table for Chroma (say), just add 
+  <!--
+    If you want to use a different quantization table for Chroma, for example,
+    just add:
 
-  <table slot="1" alias="chroma">
-    <description>Chroma Quantization Table</description>
-    INSERT 64 POSITIVE INTEGERS HERE, COMMA-SEPARATED
-    </levels>
-  </table>
+    <table slot="1" alias="chroma">
+      <description>Chroma Quantization Table</description>
+      INSERT 64 POSITIVE INTEGERS HERE, COMMA-SEPARATED
+      </levels>
+    </table>
 
-  here (but outside of these comments).
--->
+    here (but outside of these comments).
+  -->
 </quantization-tables>