rgba_float_to_rgba_int: rgba_float_to_rgba_int

View source: R/rgba_float_to_rgba_int.R

rgba_float_to_rgba_intR Documentation

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)

Arguments

fRGBA

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

Value

RGBA matrix. The output is not premultiplied by alpha.


scattermore documentation built on July 9, 2023, 5:34 p.m.