Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sixlegs.image.png
Class Chunk_IHDR  view Chunk_IHDR download Chunk_IHDR.java

java.lang.Object
  extended bycom.sixlegs.image.png.Chunk
      extended bycom.sixlegs.image.png.Chunk_IHDR
All Implemented Interfaces:
java.lang.Cloneable

final class Chunk_IHDR
extends Chunk


Field Summary
(package private)  java.awt.image.ColorModel alphaModel
           
(package private)  boolean alphaUsed
           
(package private) static int bKGD
           
(package private) static int cHRM
           
(package private)  int cmBits
           
(package private)  int colorType
           
(package private)  boolean colorUsed
           
(package private)  int compress
           
(package private)  int depth
           
(package private)  int filter
           
(package private) static int gAMA
           
(package private) static int gIFg
           
(package private) static int gIFx
           
(package private)  int height
           
(package private) static int hIST
           
(package private) static int iCCP
           
(package private) static int IDAT
           
(package private) static int IEND
           
(package private) static int IHDR
           
protected  PngImage img
           
protected  ExDataInputStream in_data
           
(package private)  int interlace
           
(package private)  Interlacer interlacer
           
(package private) static int iTXt
           
(package private)  int length
           
(package private)  java.awt.image.ColorModel model
           
(package private) static int oFFs
           
(package private)  int outputDepth
           
(package private)  boolean paletteUsed
           
(package private) static int pCAL
           
(package private) static int pHYs
           
(package private) static int PLTE
           
(package private)  int samples
           
(package private) static int sBIT
           
(package private) static int sCAL
           
(package private) static int sPLT
           
(package private) static int sRGB
           
(package private) static int tEXt
           
(package private) static int tIME
           
(package private) static int tRNS
           
(package private)  int type
           
(package private)  int width
           
(package private) static int zTXt
           
 
Constructor Summary
(package private) Chunk_IHDR()
           
 
Method Summary
(package private)  void badLength()
           
(package private)  void badLength(int correct)
           
protected  boolean beforeIDAT()
           
(package private)  int bytesRemaining()
           
(package private)  Chunk copy()
           
(package private)  boolean isAncillary()
           
(package private)  boolean isPrivate()
           
(package private)  boolean isReservedSet()
           
(package private)  boolean isSafeToCopy()
           
(package private)  boolean isUnknown()
           
protected  boolean multipleOK()
           
protected  void readData()
           
(package private) static int stringToType(java.lang.String id)
           
(package private) static java.lang.String typeToString(int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

int width

height

int height

depth

int depth

outputDepth

int outputDepth

compress

int compress

filter

int filter

interlace

int interlace

interlacer

Interlacer interlacer

samples

int samples

colorType

int colorType

cmBits

int cmBits

paletteUsed

boolean paletteUsed

colorUsed

boolean colorUsed

alphaUsed

boolean alphaUsed

alphaModel

java.awt.image.ColorModel alphaModel

model

java.awt.image.ColorModel model

length

int length

type

int type

img

protected PngImage img

in_data

protected ExDataInputStream in_data

IHDR

static final int IHDR
See Also:
Constant Field Values

PLTE

static final int PLTE
See Also:
Constant Field Values

IDAT

static final int IDAT
See Also:
Constant Field Values

IEND

static final int IEND
See Also:
Constant Field Values

bKGD

static final int bKGD
See Also:
Constant Field Values

cHRM

static final int cHRM
See Also:
Constant Field Values

gAMA

static final int gAMA
See Also:
Constant Field Values

hIST

static final int hIST
See Also:
Constant Field Values

pHYs

static final int pHYs
See Also:
Constant Field Values

sBIT

static final int sBIT
See Also:
Constant Field Values

tEXt

static final int tEXt
See Also:
Constant Field Values

tIME

static final int tIME
See Also:
Constant Field Values

tRNS

static final int tRNS
See Also:
Constant Field Values

zTXt

static final int zTXt
See Also:
Constant Field Values

sRGB

static final int sRGB
See Also:
Constant Field Values

sPLT

static final int sPLT
See Also:
Constant Field Values

oFFs

static final int oFFs
See Also:
Constant Field Values

sCAL

static final int sCAL
See Also:
Constant Field Values

iCCP

static final int iCCP
See Also:
Constant Field Values

pCAL

static final int pCAL
See Also:
Constant Field Values

iTXt

static final int iTXt
See Also:
Constant Field Values

gIFg

static final int gIFg
See Also:
Constant Field Values

gIFx

static final int gIFx
See Also:
Constant Field Values
Constructor Detail

Chunk_IHDR

Chunk_IHDR()
Method Detail

multipleOK

protected boolean multipleOK()
Overrides:
multipleOK in class Chunk

readData

protected void readData()
                 throws java.io.IOException
Overrides:
readData in class Chunk

copy

Chunk copy()

isAncillary

boolean isAncillary()

isPrivate

final boolean isPrivate()

isReservedSet

final boolean isReservedSet()

isSafeToCopy

final boolean isSafeToCopy()

isUnknown

final boolean isUnknown()

bytesRemaining

int bytesRemaining()

beforeIDAT

protected boolean beforeIDAT()

typeToString

static java.lang.String typeToString(int x)

stringToType

static int stringToType(java.lang.String id)

badLength

final void badLength(int correct)
              throws PngException

badLength

final void badLength()
              throws PngException