McIDAS Programmer's Manual
Version 2015

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


*.GRX

Graphics save tables for McIDAS-X, where * is a user-defined file name.

These binary files contain a table of the red, green and blue color intensities (0 to 255) for the graphics levels on a McIDAS-X workstation. The table is of variable length, depending on the number of graphics levels allocated by the McIDAS-X session that generated the file. Use the GU application to create a McIDAS-X graphics save table.

For graphics save tables Application Program Interfaces (APIs), refer to the API functions list at the end of this section.

Word allocation

Word Description

0 - 3

reserved

4

red color intensity for graphics level 1

5

green color intensity for graphics level 1

6

blue color intensity for graphics level 1

...

...

3 * (n-1) + 1

red color intensity for graphics level n

3 * (n-1) + 2

green color intensity for graphics level n

3 * (n-1) + 3

blue color intensity for graphics level n

...

...

3 * (max-1) + 1

red color intensity for the maximum graphics level

3 * (max-1) + 2

green color intensity for the maximum graphics level

3 * (max-1) + 3

blue color intensity for the maximum graphics level

API functions

Fortran Function Description

delgra

deletes a saved graphics table

resgra

restores a saved graphics table

savgra

writes a graphics save table


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]