Class DIBHeader.BitmapInfoHeader
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.bmp.DIBHeader
-
- com.twelvemonkeys.imageio.plugins.bmp.DIBHeader.BitmapInfoHeader
-
- Enclosing class:
- DIBHeader
static final class DIBHeader.BitmapInfoHeader extends DIBHeader
Represents the DIB (Device Independent Bitmap) Windows 3.0 Bitmap Information header structure. This is the common format for persistent DIB structures, even if Windows may use the later versions at run-time.Note: Some variations that includes the mask fields into the header size exists, but is no longer part of the documented spec.
- Version:
- $Id: DIBHeader.java,v 1.0 25.feb.2006 00:29:44 haku Exp$
- See Also:
- BMP file format (Wikipedia), BITMAPV3INFOHEADER.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.twelvemonkeys.imageio.plugins.bmp.DIBHeader
DIBHeader.BitmapCoreHeader, DIBHeader.BitmapCoreHeaderV2, DIBHeader.BitmapInfoHeader, DIBHeader.BitmapV4InfoHeader, DIBHeader.BitmapV5InfoHeader
-
-
Field Summary
-
Fields inherited from class com.twelvemonkeys.imageio.plugins.bmp.DIBHeader
bitCount, cieXYZEndpoints, colorsImportant, colorSpaceType, colorsUsed, compression, gamma, height, imageSize, intent, masks, planes, profileData, profileSize, size, topDown, width, xPixelsPerMeter, yPixelsPerMeter
-
-
Constructor Summary
Constructors Constructor Description BitmapInfoHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBMPVersion()
protected void
read(int size, java.io.DataInput stream)
protected void
write(java.io.DataOutput stream)
-
Methods inherited from class com.twelvemonkeys.imageio.plugins.bmp.DIBHeader
getBitCount, getColorsImportant, getColorsUsed, getCompression, getHeight, getImageSize, getPlanes, getSize, getWidth, getXPixelsPerMeter, getYPixelsPerMeter, hasMasks, read, toString
-
-
-
-
Method Detail
-
read
protected void read(int size, java.io.DataInput stream) throws java.io.IOException
-
write
protected void write(java.io.DataOutput stream) throws java.io.IOException
-
getBMPVersion
public java.lang.String getBMPVersion()
- Specified by:
getBMPVersion
in classDIBHeader
-
-