C# Class Recurity.Swf.ColorMapData

The COLORMAPDATA structure contains image data. This

structure is compressed as a single block of data.

Row widths in the pixel data fields of these structures

must be rounded up to the next 32-bit word boundary.

For example, an 8-bit image that is 253 pixels wide must be

padded out to 256 bytes per line. To determine the appropriate

padding, make sure to take into account the actual size of

the individual pixel structures; 15-bit pixels occupy 2

bytes and 24-bit pixels occupy 4 bytes (see PIX15 and PIX24).

Inheritance: AbstractSwfElement
Exibir arquivo Open project: rtezli/Blitzableiter

Public Methods

Method Description
ColorMapData ( byte InitialVersion ) : System

The COLORMAPDATA structure contains image data. This

structure is compressed as a single block of data.

Parse ( Stream input, byte colorTableSize, UInt32 imageDataSize ) : void

ToString ( ) : string

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

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( Stream output ) : void

Writes this object to a stream.

Method Details

ColorMapData() public method

The COLORMAPDATA structure contains image data. This

structure is compressed as a single block of data.

public ColorMapData ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this tag.
return System

Parse() public method

public Parse ( Stream input, byte colorTableSize, UInt32 imageDataSize ) : void
input Stream
colorTableSize byte
imageDataSize System.UInt32
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 object and its components for documentation compliance.
public Verify ( ) : bool
return bool

Write() public method

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