apply.palette.to.rawdata: Apply a palette to index data to create a 2D image.

Description Usage Arguments

Description

Apply a palette to index data to create a 2D image.

Usage

1
apply.palette.to.rawdata(raw_data, apply_palette, img_width, img_height)

Arguments

raw_data

integer vector of pixel data, each entry represents an index into the palette.

apply_palette

integer matrix, the palette.

img_width

integer, the width of the image to create.

img_height

integer, the height of the image to create.


wal documentation built on Jan. 17, 2021, 5:10 p.m.