Description Usage Arguments Value
Compute the colors for the CGA/EGA palette from the header.
1 2 3 4 5 | compute.header.palette.colors(
pcxheader,
gfx_mode = "AUTO",
raw_image_data = NULL
)
|
pcxheader |
a PCX header instance |
gfx_mode |
the graphics mode, one of 'CGA', 'EGA', or 'AUTO' to guess the mode from the data. |
raw_image_data |
the raw image data as stored in the file, decoded (extracted from the RLE) but without further modification like application of a palette, optional. Can be used to check the validity of the computed palette if given. |
integer matrix, the palette colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.