mxGraph 2.5.0.1


com.mxgraph.util.png
Class mxPngTextDecoder

java.lang.Object
  extended by com.mxgraph.util.png.mxPngTextDecoder

public class mxPngTextDecoder
extends Object

Utility class to extract the compression text portion of a PNG


Field Summary
static int PNG_CHUNK_IEND
           
static int PNG_CHUNK_ZTXT
           
 
Constructor Summary
mxPngTextDecoder()
           
 
Method Summary
static Map<String,String> decodeCompressedText(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 Map<String,String> decodeCompressedText(InputStream stream)
Decodes the zTXt chunk of the given PNG image stream.


mxGraph 2.5.0.1


Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.