com.mxgraph.util.png

## Class mxPngTextDecoder

- java.lang.Object
- - com.mxgraph.util.png.mxPngTextDecoder

-     public class mxPngTextDecoder
      extends java.lang.Object

  Utility class to extract the compression text portion of a PNG

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `PNG_CHUNK_IEND`
    `static int` | `PNG_CHUNK_ZTXT`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `mxPngTextDecoder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Map<java.lang.String,java.lang.String>` | `decodeCompressedText(java.io.InputStream stream)` Decodes the zTXt chunk of the given PNG image stream.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### PNG_CHUNK_ZTXT

          public static final int PNG_CHUNK_ZTXT

      See Also:
        Constant Field Values

    - #### PNG_CHUNK_IEND

          public static final int PNG_CHUNK_IEND

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### mxPngTextDecoder

          public mxPngTextDecoder()

  - ### Method Detail

    - #### decodeCompressedText

          public static java.util.Map<java.lang.String,java.lang.String> decodeCompressedText(java.io.InputStream stream)

      Decodes the zTXt chunk of the given PNG image stream.

Copyright (c) 2010 Gaudenz Alder. All rights reserved.