TV-Browser 2.7.5 API

webplugin.aclib.image.ico
Class BitmapRGB32BPP

java.lang.Object
  extended by webplugin.aclib.image.ico.AbstractBitmap
      extended by webplugin.aclib.image.ico.AbstractBitmapRGB
          extended by webplugin.aclib.image.ico.BitmapRGB32BPP

public class BitmapRGB32BPP
extends AbstractBitmapRGB

ARGB bitmap with 8 bits per color (32 bits per sample).

Author:
© Christian Treber, ct@ctreber.com

Field Summary
 
Fields inherited from class webplugin.aclib.image.ico.AbstractBitmapRGB
_samples
 
Fields inherited from class webplugin.aclib.image.ico.AbstractBitmap
_descriptor
 
Constructor Summary
BitmapRGB32BPP(BitmapDescriptor pDescriptor)
           
 
Method Summary
 BufferedImage createImageRGB()
          Create an RGB image rendition of this bitmap.
(package private)  void read(AbstractDecoder pDec)
          According to Microsoft, the topmost byte simply is not used, but I found the fourth byte seems to be the alpha channel.
 
Methods inherited from class webplugin.aclib.image.ico.AbstractBitmap
getColorCount, getDescriptor, getHeight, getWidth, setDescriptor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitmapRGB32BPP

public BitmapRGB32BPP(BitmapDescriptor pDescriptor)
Parameters:
pDescriptor - The image descriptor.
Method Detail

read

void read(AbstractDecoder pDec)
    throws IOException
According to Microsoft, the topmost byte simply is not used, but I found the fourth byte seems to be the alpha channel.

Specified by:
read in class AbstractBitmap
Parameters:
pDec - The decoder.
Throws:
IOException

createImageRGB

public BufferedImage createImageRGB()
Description copied from class: AbstractBitmap
Create an RGB image rendition of this bitmap.

Specified by:
createImageRGB in class AbstractBitmap
Returns:
Create an ARGB image.

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)