Graphics data

The FileType stored in the file header is “Graphics”.

Header data

This file type uses the ‘File Header’ described in chapter File Header.

The Phase value, the AspectRatio (could be stored in old WAVECOM Data Files, for the actual Software it is not stored anymore) and the Flip Left/Right/Top/Bottom value are stored additionally to the default header.

The following additional data is stored in the Header, following the default header:

Ø Phase: Value for moving the image horizontal

Ø Pad: padding bits for alignment (not used)

Ø AspectRatio: obsolete, no longer used in the actual software

Ø FlipHV: 0 = FlipLeftRight & FlipTopBottom disabled, 1 = FlipLeftRight, 2 = FlipTopBottom, 3 = FlipLeftRight & FlipTopBottom

Ø Pad: padding bytes for alignment (not used)

To the default file header with 64 bytes additional a block of 24 bytes is added that contains the Phase, the AspectRatio, the FlipHV and some padding bytes for alignment.

The Phase value occupies 4 Bytes followed by 4 padding bytes. The Aspect Ration occupies 8 bytes. The FlipHV (Flip horizontal vertical ) value occupies 4 bytes followed by 4 padding bytes.

NOTE: the following struct type could be used to extract the data header.

struct GraphicsData

{

Long  Phase;

      double AspectRatio;

      int FlipHV;

};

Data

This FileType uses the data structure described in chapter Data Structures to store the data.

A data package in the .WDA file contains the data of all pixels of one line in the graphic. The pixel data is stored in BYTES (8-bit type) values, that is one Byte in the .WDA file contains the value of an Pixel in the graphic.