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 int
bitsPerPixel
private int
bytesPerLine
private int
channels
private int
compression
private int
hdpi
private int
height
private int
hScreenSize
private static java.awt.image.IndexColorModel
MONOCHROME
private byte[]
palette
private int
paletteInfo
private int
vdpi
private int
version
private int
vScreenSize
private int
width
-
Constructor Summary
Constructors Constructor Description PCXHeader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBitsPerPixel()
int
getBytesPerLine()
int
getChannels()
int
getCompression()
java.awt.image.IndexColorModel
getEGAPalette()
int
getHeight()
int
getVersion()
int
getWidth()
private boolean
isCGAVideoMode4()
private boolean
isCGAVideoMode5()
private boolean
isCGAVideoMode6()
private boolean
isDummyPalette()
private boolean
isEmptyPalette()
private boolean
isPhotoshopPalette()
static PCXHeader
read(javax.imageio.stream.ImageInputStream imageInput)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
read
public static PCXHeader read(javax.imageio.stream.ImageInputStream imageInput) throws java.io.IOException
- Throws:
java.io.IOException
-
-