Class PCXHeader
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.pcx.PCXHeader
-
final class PCXHeader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intbitsPerPixelprivate intbytesPerLineprivate intchannelsprivate intcompressionprivate inthdpiprivate intheightprivate inthScreenSizeprivate static java.awt.image.IndexColorModelMONOCHROMEprivate byte[]paletteprivate intpaletteInfoprivate intvdpiprivate intversionprivate intvScreenSizeprivate intwidth
-
Constructor Summary
Constructors Constructor Description PCXHeader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBitsPerPixel()intgetBytesPerLine()intgetChannels()intgetCompression()java.awt.image.IndexColorModelgetEGAPalette()intgetHeight()intgetVersion()intgetWidth()private booleanisCGAVideoMode4()private booleanisCGAVideoMode5()private booleanisCGAVideoMode6()private booleanisDummyPalette()private booleanisEmptyPalette()private booleanisPhotoshopPalette()static PCXHeaderread(javax.imageio.stream.ImageInputStream imageInput)java.lang.StringtoString()
-
-
-
Field Detail
-
MONOCHROME
private static final java.awt.image.IndexColorModel MONOCHROME
-
version
private int version
-
compression
private int compression
-
bitsPerPixel
private int bitsPerPixel
-
width
private int width
-
height
private int height
-
hdpi
private int hdpi
-
vdpi
private int vdpi
-
palette
private byte[] palette
-
channels
private int channels
-
bytesPerLine
private int bytesPerLine
-
paletteInfo
private int paletteInfo
-
hScreenSize
private int hScreenSize
-
vScreenSize
private int vScreenSize
-
-
Method Detail
-
getVersion
public int getVersion()
-
getCompression
public int getCompression()
-
getBitsPerPixel
public int getBitsPerPixel()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getChannels
public int getChannels()
-
getBytesPerLine
public int getBytesPerLine()
-
getEGAPalette
public java.awt.image.IndexColorModel getEGAPalette()
-
isCGAVideoMode4
private boolean isCGAVideoMode4()
-
isCGAVideoMode5
private boolean isCGAVideoMode5()
-
isCGAVideoMode6
private boolean isCGAVideoMode6()
-
isDummyPalette
private boolean isDummyPalette()
-
isEmptyPalette
private boolean isEmptyPalette()
-
isPhotoshopPalette
private boolean isPhotoshopPalette()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
read
public static PCXHeader read(javax.imageio.stream.ImageInputStream imageInput) throws java.io.IOException
- Throws:
java.io.IOException
-
-