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

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.