pydl.pydlutils
Converts an array of floats in [0.0, 1.0] to bytes in [0, 255].
ndarray
Image to convert.
int
Number of bits in final image.
Converted image.
nw_float_to_byte()