public class

PNGImageDecoder

extends ImageDecoder
java.lang.Object
   ↳ sun.awt.image.ImageDecoder
     ↳ sun.awt.image.PNGImageDecoder

Class Overview

PNG - Portable Network Graphics - image file reader. See RFC2083 for details.

Summary

Nested Classes
class PNGImageDecoder.Chromaticities  
class PNGImageDecoder.PNGException  
[Expand]
Inherited Fields
From class sun.awt.image.ImageDecoder
Public Constructors
PNGImageDecoder(InputStreamImageSource src, InputStream input)
Public Methods
static boolean getCheckCRC()
void print()
void produceImage()
static void setCheckCRC(boolean c)
Protected Methods
boolean handleChunk(int key, byte[] buf, int st, int len)
void wrc(int c)
void wrk(int n)
[Expand]
Inherited Methods
From class sun.awt.image.ImageDecoder
From class java.lang.Object

Public Constructors

public PNGImageDecoder (InputStreamImageSource src, InputStream input)

Throws
IOException

Public Methods

public static boolean getCheckCRC ()

public void print ()

public void produceImage ()

public static void setCheckCRC (boolean c)

Protected Methods

protected boolean handleChunk (int key, byte[] buf, int st, int len)

Throws
IOException

protected void wrc (int c)

protected void wrk (int n)