--- old/src/java.desktop/share/classes/javax/imageio/metadata/doc-files/png_metadata.html 2017-10-23 13:51:07.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/imageio/metadata/doc-files/png_metadata.html 2017-10-23 13:51:07.000000000 -0700 @@ -1,8 +1,11 @@ - - + + + + PNG Metadata Format Specification + -PNG Metadata Format Specification - - - + -

-PNG Metadata Format Specification -

+

PNG Metadata Format Specification

@@ -59,7 +57,7 @@ type set in the metadata is "Palette", palette color will be used.

- + If no metadata is supplied when encoding an image, the header is initialized from the image being encoded, and no optional chunks are included. @@ -85,7 +83,7 @@ The child nodes of the bKGD, sBIT, and tRNS chunks must match the image's color type. -

+

Certain chunks may meaningfully appear multiple times in a PNG file, in particular the text-related chunks. In order to simplify the @@ -104,8 +102,8 @@

 <!DOCTYPE "javax_imageio_png_1.0" [
 
-  <!ELEMENT "javax_imageio_png_1.0" (IHDR?, PLTE?, bKGD?, cHRM?, 
-    gAMA?, hIST?, iCCP?, iTXt?, pHYS?, sBIT?, sPLT?, sRGB?, tEXt?, 
+  <!ELEMENT "javax_imageio_png_1.0" (IHDR?, PLTE?, bKGD?, cHRM?,
+    gAMA?, hIST?, iCCP?, iTXt?, pHYS?, sBIT?, sPLT?, sRGB?, tEXt?,
     tIME?, tRNS?, zTXt?, UnknownChunks?)>
 
     <!ELEMENT "IHDR" EMPTY>
@@ -123,7 +121,7 @@
       <!ATTLIST "IHDR" "bitDepth" ("1" | "2" | "4" | "8" | "16")
          #REQUIRED>
         <!-- The bit depth of the image samples -->
-      <!ATTLIST "IHDR" "colorType" ("Grayscale" | "RGB" | "Palette" | 
+      <!ATTLIST "IHDR" "colorType" ("Grayscale" | "RGB" | "Palette" |
         "GrayAlpha" | "RGBAlpha") #REQUIRED>
         <!-- The color type of the image -->
       <!ATTLIST "IHDR" "compressionMethod" ("deflate") #REQUIRED>
@@ -318,7 +316,7 @@
       <!ATTLIST "pHYS" "unitSpecifier" ("unknown" | "meter") #REQUIRED>
         <!-- The unit specifier for this chunk (i.e., meters) -->
 
-    <!ELEMENT "sBIT" (sBIT_Grayscale | sBIT_GrayAlpha | sBIT_RGB | 
+    <!ELEMENT "sBIT" (sBIT_Grayscale | sBIT_GrayAlpha | sBIT_RGB |
       sBIT_RGBAlpha | sBIT_Palette)>
       <!-- The sBIT chunk, containing significant bit information -->
 
@@ -437,8 +435,8 @@
 
     <!ELEMENT "sRGB" EMPTY>
       <!-- The sRGB chunk, containing rendering intent information -->
-      <!ATTLIST "sRGB" "renderingIntent" ("Perceptual" | 
-        "Relative colorimetric" | "Saturation" | 
+      <!ATTLIST "sRGB" "renderingIntent" ("Perceptual" |
+        "Relative colorimetric" | "Saturation" |
         "Absolute colorimetric") #REQUIRED>
         <!-- The rendering intent -->