Class WebPChunkXml


public final class WebPChunkXml extends AbstractWebPChunk
XML chunk.
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                      ChunkHeader('XMP ')                      |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
:                        XMP Metadata                           :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Since:
1.0.0-alpha4
See Also:
  • Field Details

    • xml

      private final String xml
  • Constructor Details

    • WebPChunkXml

      public WebPChunkXml(int type, int size, byte[] bytes) throws ImagingException
      Create a XML chunk.
      Parameters:
      type - chunk type.
      size - chunk size.
      bytes - chunk data.
      Throws:
      ImagingException - if the chunk data and the size provided do not match.
  • Method Details

    • getXml

      public String getXml()
      Returns:
      the XML.