by the specified color. If GRAYSCALE is true, the data will not contain color information. All pixel data will be transformed into grayscale. r!