C# Class Recurity.Swf.TagHandler.DefineBitsLossless

Defines a lossless bitmap character that contains RGB bitmap data compressed with ZLIB.

The data format used by the ZLIB library is described by Request for Comments (RFCs)

documents 1950 to 1952.

Two kinds of bitmaps are supported. Colormapped images define a colormap of up to 256

colors, each represented by a 24-bit RGB value, and then use 8-bit pixel values to index into

the colormap. Direct images store actual pixel color values using 15 bits (32,768 colors) or 24

bits (about 17 million colors).

Inheritance: AbstractTagHandler, ISwfCharacter
Exibir arquivo Open project: rtezli/Blitzableiter Class Usage Examples

Protected Properties

Property Type Description
_bitmapColorTableSize byte
_bitmapFormat byte
_bitmapHight System.UInt16
_bitmapWidth System.UInt16
_characterID System.UInt16
_zlibBitmapData byte[]

Public Methods

Method Description
DefineBitsLossless ( byte InitialVersion ) : System

Defines a lossless bitmap character that contains RGB bitmap data compressed with ZLIB.

ToString ( ) : string

Converts the value of this instance to a System.String.

Verify ( ) : bool

Verifies this tag and its component for documentation compliance.

Write ( Stream output ) : void

Writes this object back to a stream.

Protected Methods

Method Description
Parse ( ) : void

Parses this object out of a stream

Method Details

DefineBitsLossless() public method

Defines a lossless bitmap character that contains RGB bitmap data compressed with ZLIB.
public DefineBitsLossless ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this tag.
return System

Parse() protected method

Parses this object out of a stream
protected Parse ( ) : void
return void

ToString() public method

Converts the value of this instance to a System.String.
public ToString ( ) : string
return string

Verify() public method

Verifies this tag and its component for documentation compliance.
public Verify ( ) : bool
return bool

Write() public method

Writes this object back to a stream.
public Write ( Stream output ) : void
output Stream The stream to write to.
return void

Property Details

_bitmapColorTableSize protected_oe property

protected byte _bitmapColorTableSize
return byte

_bitmapFormat protected_oe property

protected byte _bitmapFormat
return byte

_bitmapHight protected_oe property

protected UInt16,System _bitmapHight
return System.UInt16

_bitmapWidth protected_oe property

protected UInt16,System _bitmapWidth
return System.UInt16

_characterID protected_oe property

protected UInt16,System _characterID
return System.UInt16

_zlibBitmapData protected_oe property

protected byte[] _zlibBitmapData
return byte[]