com.mxgraph.util.png
Class mxPngTextDecoder
java.lang.Object
com.mxgraph.util.png.mxPngTextDecoder
public class mxPngTextDecoder
- extends Object
Utility class to extract the compression text portion of a PNG
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
mxPngTextDecoder
public mxPngTextDecoder()
decodeCompressedText
public static Map<String,String> decodeCompressedText(InputStream stream)
- Decodes the zTXt chunk of the given PNG image stream.
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.