public class BMPReader extends ImageReader
Changes:
1. colorPalette to use bitmapHeader.colorsUsed if it's nonzero
instead of always relying on 1<
bitsPerPixel, bytesPerScanLine, height, param, rgbColorPalette, width
Constructor and Description |
---|
BMPReader() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
read(java.io.InputStream is) |
getFrame, getFrameCount, getFrames, getImageParam
public java.awt.image.BufferedImage read(java.io.InputStream is) throws java.lang.Exception
read
in class ImageReader
java.lang.Exception