| |
|
| java.lang.Object org.openlaszlo.iv.flash.util.PNGHelper
PNGHelper | public class PNGHelper (Code) | | Helper class to decode PNG images.
Does read but not support gAMA chunk (yet :-)
author: Patrick Talbot |
Inner Class :public class RGB | |
PNGHelper | public PNGHelper()(Code) | | |
PNGHelper | public PNGHelper(byte[] inputBuffer)(Code) | | |
getColorTableSize | public int getColorTableSize()(Code) | | |
getFormat | public int getFormat()(Code) | | |
getHeight | public int getHeight()(Code) | | Return the height of the image
height of the image |
getWidth | public int getWidth()(Code) | | Return the width of the image
width of the image |
hasTransparency | public boolean hasTransparency()(Code) | | |
setInputBuffer | public void setInputBuffer(byte[] inputBuffer)(Code) | | Set the main inputStream and construct the CRCInputStream to read to
Parameters: inputBuffer - buffer to read from |
setInputBuffer | public void setInputBuffer(FlashBuffer fob)(Code) | | Set the main inputStream and construct the CRCInputStream to read to
Parameters: fob - buffer to read from |
|
|
|