uint32(x)
converts a double array into an array of uint8 (range 0 up to +255)
double, int16, int8, uint8, uint16