1 | initial version |
I dont quite understand what you're trying to ask here but I hope you do realize that PNG, JPEG and RAW refer to the image compression methods (basically a turn on how you store images) and RGB values refer to the colorspace in which images are saved. An image could be saved in any format and it need not be RGB all the time (well but it technically is due to RGB being a common standard).
If you're asking about the differences between PNG, JPEG, and RAW. Then I would suggest reading up on image compression
When VideoCapture procures a frame from a video of a file then the answer to your question would be "what is format of the video file?" moreover "what is the compression method used for the video file?" I would suggest reading up on video compression formats / video codecs.
I would suggest framing the question with a clear understanding as to what it is you want to ask about would always be a good start.