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

apply.palette.to.rawdataR Documentation

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

Description

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

Usage

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 May 29, 2024, 9:23 a.m.