|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwebplugin.aclib.image.ico.BitmapHeader
public class BitmapHeader
Icon header. Describes the dimensions and properties of the icon.
| Constructor Summary | |
|---|---|
BitmapHeader(AbstractDecoder pDec)
Create a header from decoded information. |
|
| Method Summary | |
|---|---|
long |
getBitmapSize()
Bitmap size in bytes. |
int |
getBPP()
Bits per pixel. |
int |
getColorCount()
The number of colors (based on BPP). |
long |
getColorsImportant()
Number of important colors (0: All). |
long |
getColorsUsed()
Number of colors used (often not set properly). |
TypeCompression |
getCompression()
The bitmap compression type. |
long |
getHeaderSize()
Header size (40 + 4 * color count, right?). |
long |
getHeight()
Bitmap height. |
int |
getPlanes()
Number of planes (always 1 in bitmaps, right?). |
long |
getWidth()
Bitmap width. |
long |
getXPixelsPerM()
I'm not sure what this is. |
long |
getYPixelsPerM()
I'm not sure what this is. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BitmapHeader(AbstractDecoder pDec)
throws IOException
pDec - The decoder.
IOException| Method Detail |
|---|
public String toString()
toString in class Objectpublic int getBPP()
public long getColorsImportant()
public long getColorsUsed()
public TypeCompression getCompression()
TypeCompressionpublic long getHeight()
public long getBitmapSize()
public int getPlanes()
public long getHeaderSize()
public long getWidth()
public long getXPixelsPerM()
public long getYPixelsPerM()
public int getColorCount()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||