The VGA port in general has 4 pins for each R,G and B. If I am working on a grayscale (monochrome) image on my FPGA, how am I supposed to supply the data to the R,G,B pins of VGA port?
Also if I have a true color image with 8 bit each for R, G and B, how can I feed that data to VGA?
Conversion of a grayscale to RGB is simple. Simply use R = G = B = gray value. The basic idea is that color (as viewed on a monitor in terms of RGB) is an additive system.
That means some of the information has to be lost.... What about HDMI port? Do we lose some info there as well? if we have a gray scale image of 8 bit each pixel?
That means some of the information has to be lost.... What about HDMI port? Do we lose some info there as well? if we have a gray scale image of 8 bit each pixel?
"That means some of the information has to be lost..." - yes but practically it looks well [ i often used few more significant bits to feed VGA monitor (and lost less significant bits), and colors had been looking OK and similiar].
I didn't use HDMI, but as far as I remember HDMI driver has an VGA circle as main component + TDMS codecs. See links:
That means some of the information has to be lost.... What about HDMI port? Do we lose some info there as well? if we have a gray scale image of 8 bit each pixel?
Yes, you loos the complete color information. You will never find out if it was red or green...
Maybe you just talk about grey_scale_resolution.
But did you ever try to see the difference between (128, 128, 128) and (129, 129, 129)?
Or at both ends of the greyscale (black, white)?
Maybe you just talk about grey_scale_resolution.
But did you ever try to see the difference between (128, 128, 128) and (129, 129, 129)?
Or at both ends of the greyscale (black, white)?