 To get a digital signal, Y′UV images can be sampled in several different ways; see chroma subsampling.RGB files are typically encoded in 8, 12, 16 or 24 bits per pixel.In these examples, we will assume 24 bits per pixel, which is written as RGB888.