Create an image from matrix

when should i multiply data by 255 ? because the data is normalized pixels/255