Learn R Programming

scattermore (version 1.2)

rgba_float_to_rgba_int: rgba_float_to_rgba_int

Description

Convert a float RGBA bitmap with pre-multiplied alpha to integer RGBA bitmap.

Usage

rgba_float_to_rgba_int(fRGBA)

Value

RGBA matrix. The output is not premultiplied by alpha.

Arguments

fRGBA

RGBA bitmap in N-by-M-by-4 array.