public class PngParser extends Object
| Modifier and Type | Field and Description | 
|---|---|
int | 
bitDepth  | 
byte[] | 
colorspaceBytes  | 
int | 
colorType  | 
int | 
height  | 
ICC_Profile | 
icc_profile  | 
static byte[] | 
SIGNATURE  | 
boolean | 
unsupportedType  | 
int | 
width  | 
| Constructor and Description | 
|---|
PngParser(byte[] is,
         String fileName,
         short debug,
         CachedImage image)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clean()  | 
static byte[] | 
deflate(byte[] in,
       boolean strict)  | 
int | 
getColors()  | 
String | 
getColorspaceName()  | 
byte[] | 
getHeader()  | 
int | 
getHeight()  | 
byte[] | 
getImageBody()  | 
int | 
getWidth()  | 
public static final byte[] SIGNATURE
public int width
public int height
public int colorType
public int bitDepth
public ICC_Profile icc_profile
public boolean unsupportedType
public byte[] colorspaceBytes
public PngParser(byte[] is,
                 String fileName,
                 short debug,
                 CachedImage image)
          throws Exception
Exceptionpublic byte[] getImageBody()
public int getHeight()
public int getWidth()
public String getColorspaceName()
public int getColors()
public static byte[] deflate(byte[] in,
                             boolean strict)
public void clean()
Revision 4.0.15 / 20220727-0149