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
Afficher le fichier Open project: rtezli/Blitzableiter

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Parse() public méthode

public Parse ( Stream input, byte colorTableSize, UInt32 imageDataSize ) : void
input Stream
colorTableSize byte
imageDataSize System.UInt32
Résultat void

ToString() public méthode

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

Verify() public méthode

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
Résultat bool

Write() public méthode

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