added BytesToRGBImage